Hi

Have you ever used java2wsdl to create wsdl for document/literal
encodings for complex types that required a typemapping?

Thanks

Nathan

On Tue, 2004-08-03 at 23:39, Mark D. Hansen wrote:
> 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.
> > 
-- 
Nathan Sowatskey - Technical Leader, NMTG CTO Engineering - Desk
+44-208-824-4259/+1-408-527-2595 - Mobile +44-7740-449794 - AIM id NathanCisco -
[EMAIL PROTECTED]

Reply via email to