How to generate optional and mandatory-only request/response from a WSDL?

Questions about XML that are not covered by the other forums should go here.
csalsa
Posts: 97
Joined: Tue Apr 22, 2008 9:31 am

How to generate optional and mandatory-only request/response from a WSDL?

Post by csalsa » Mon Apr 02, 2012 6:13 am

The "Generate Sample XML Files" dialog allows me to generate sample XML from a XML schema.

In the settings I can ask it to "Generate optional elements" and to "Generate optional attributes". Can I also do this from an WSDL file as well as an XML schema?

After all, a WSDL contains an XML schema.

Radu
Posts: 7154
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to generate optional and mandatory-only request/response from a WSDL?

Post by Radu » Mon Apr 02, 2012 10:26 am

Hi,

No, sorry, generation of XML samples only works against XML Schemas and not against WSDL which has embedded XML Schemas.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply