eg.
<parameter name="wsdlInputSchema" value="your_url/your_schema.xsd"/>
This will include the schema in the generated wsdl from the ?wsdl-query. I just haven't figured out how to include both input and output schema's.
Does anyone know?
remko
Anne Thomas Manes wrote:
If you're using document/literal, then all of your elements should be defined in the <types> section already, which is defined using XML Schema. You can simply extract the <schema> section.If you're using rpc/encoded or rpc/literal, then either you've defined the type information in the <message> structure, or you've defined the type information in the <types> section. If the former, then you need to take that type information from the <part> definition and recontruct it as an XML Schema <simpleType> or <complexType> definition. In either case you haven't defined the element structure, so you also need to define that. I don't know of a tool that will automatically generate an XML Schema from a WSDL description. I do suggest using Systinet WASP's java2wsdl tool (included with WASP Server or WASP Developer -- both free for development purposes) to generate doc/literal WSDL files from your Java code -- you can specify that you want it to generate a full schema for you. Regards, Anne ----- Original Message ----- From: "Tim Thorpe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 23, 2003 4:09 AM Subject: Generating an XML Schema from WSDLHello ! Could anyone tell me if/how I can generate a W3C XML Schema from a WSDLthatI have produced ? I want to put everying from the messages down into the types/schema (nottheport, binding or service stuff). I use XML Spy as my XML editor, into which I have loaded the my WSDLwithouterror, & tried to use the 'Generate DTD/Schema' facility therein; many errors ensue, requiring the removal of the namespace prefixes within the WSDL, ultimitely leading to a 'nonsense' looking schema. Thanks, Tim
