axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From remko de knikker <remko.deknik...@yale.edu>
Subject Re: Generating an XML Schema from WSDL
Date Mon, 23 Jun 2003 12:42:19 GMT
I am using the <WsdlInputSchema> tag in the wsdd file:
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" <timothy.thorpe@criticalpath.net>
>To: <axis-user@ws.apache.org>
>Sent: Monday, June 23, 2003 4:09 AM
>Subject: Generating an XML Schema from WSDL
>
>
>  
>
>>Hello !
>>
>>Could anyone tell me if/how I can generate a W3C XML Schema from a WSDL
>>    
>>
>that
>  
>
>>I have produced ?
>>
>>I want to put everying from the messages down into the types/schema (not
>>    
>>
>the
>  
>
>>port, binding or service stuff).
>>
>>I use XML Spy as my XML editor, into which I have loaded the my WSDL
>>    
>>
>without
>  
>
>>error, & 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
>>
>>    
>>
>
>
>  
>


Mime
View raw message