I'm getting the following error while executing a wsdl2java-produced
client against a web service with WSDL produced by wscompile (with
netbeans 4.1):
JAXRPCTIE01: caught exception while handling request: deserialization
error: unexpected element type:
expected={http://www.w3.org/2001/XMLSchema}string,
actual={http://schemas.xmlsoap.org/soap/encoding/}string
wscompile-produced WSDL seems to use URI
http://schemas.xmlsoap.org/soap/encoding/ for definition of common
types (int, string etc), while wsdl2java seems to prefer
http://www.w3.org/2001/XMLSchema. Should I somehow wsdl2java to use the
earlier URI? In general, is it a bad idea to generate service WSDL with
wscompile and consume with axis?
thanks
-nikita
- URI for "basic" java types Nikita Tovstoles
-