Anne,
 
Thanks!  Although it's not the answer I was hoping for, you answered my question!
 
-jeff
-----Original Message-----
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 01, 2004 8:35 AM
To: [EMAIL PROTECTED]
Subject: RE: Schema generation in Axis?

Currently Axis does not generate a reusable schema that's separate from the WSDL. Instead it generates a types section within the WSDL file. If you would like the option of generating a separate schema definition, then you should file an enhancement request. For example, provide a switch on java2wsdl that permits you to generate a separate .xsd file or to use a specified .xsd file. As a result, Axis would generate a separate .xsd file and then import that file into the WSDL using the command that James refers to below.

 

Anne

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 01, 2004 5:10 AM
To: [EMAIL PROTECTED]
Subject: Re: Schema generation in Axis?

 

In all likelihood I did not understand your question, however you can import a schema using the following statement:

 

<wsdl:import namespace="<path to web service namespace>" location="<schemaname>.xsd"/>

 

James

 

In a message dated 7/1/2004 8:07:54 AM Eastern Standard Time, [EMAIL PROTECTED] writes:

All,

I'm designing/developing multiple web services which share a common
"library" of data types (classes).  When I deploy the services, the
Axis-generated WSDL "files" include the complete definition (schema) of each
type - i.e. each complex type is "re-defined" in the <wsdl:types><schema>
node.  Now, here's my question:  is there a way to have Axis generate a
schema file/definition which is imported by each WSDL instead of definining
each type (again and again) within each WSDL?

thanks
jeff

 

Reply via email to