Page 1 of 1

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

Posted: Mon Apr 02, 2012 6:13 am
by csalsa
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.

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

Posted: Mon Apr 02, 2012 10:26 am
by Radu
Hi,

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

Regards,
Radu