Hello Mati,

Use the option -u LITERAL.

As far as I understood, the SOAP spec was being written when the XMLSchema spec was not finished yet. The SOAP spec defines a way to describe data types, so does the XMLSchema. Java2WSDL uses ENCODED (SOAP encoding) by default, but you can change it to use XMLSchema data types.
Some SOAP engines (.NET?) do not support SOAP encoded data types.

Regards,
Dies


Mati David wrote:
Hi,

I'm running java2wsdl (axis1.3) in rpc style on my java source files.

In the generated wsdl I see that the messages arguments types have the
'soapenc' namespace i.e.,     <wsdl:part name="in0"
type="soapenc:string"/>.

Yet, when I look at automatically generated wsdl from the axis engine on
my web server I see that those types are defined with the xsd namespace
- "xsd:string".

How can I cause the java2wsdl tool to generate a wsdl using the xsd
namespace for parameter types (and what is actually the difference
between those two namespaces?)?

Thanks,

Mati David,

Reply via email to