Nobody answered this, so I dug around in the source code and found out that it can be 
done by specifying the wsdlInputSchema parameter in a WSDD file.

Here is an example.  Hope this helps somebody else who might have the same issue:

<deployment 
  xmlns="http://xml.apache.org/axis/wsdd/";
  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
  <service name="POService" style="wrapped">
    <parameter name="className" ... />
    ...
    <parameter name="wsdlInputSchema"
      value="http://schemas.myserver/po.xsd"/>
    ...
  </service>
</deployment>

> -----Original Message-----
> From: Mark D. Hansen [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 08, 2004 1:35 PM
> To: AXIS Users (E-mail)
> Subject: Java2WSDL importSchema - how to use in a WSDD
> 
> 
> Is it possible for me to get the ?WSDL generated by a 
> deployed service to include a schema (in the <wsdl:types> 
> section) that is imported from an external file or URL?  I 
> notice that Java2WSDL has an "importSchema" option, but I 
> can't seem to figure out how to use it in a WSDD.
> 
> Thanks.
> 

<<winmail.dat>>

Reply via email to