Hi
Adam,
I had
the same problem, in my case I "remade" the wsdl file with
the
java2wsdl utility and the thing I noticed was that
xsd:string
has
changed to SOAP-ENC:string in the wsdl-message part since
axis 3
alpha release. Afterwards the WSDL2Java utility was
working without any problem.
Hope
this helps,
best,
Oliver
<wsdl:message name="getExchangeListResponse">
<wsdl:part name="return" type="SOAP-ENC:string"/>
</wsdl:message>
NEU:
NZZ finfox, personal finance, die finanz- und
vermögensplanung für private
http://finfox.nzz.ch
ECOFIN Research and Consulting
AG
Neumuensterallee 6
CH-8032 Zuerich
+41 1 389 65 29
[EMAIL PROTECTED]
www.ecofin.ch
-----Original Message-----
From: Adam Freeman [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 6. Februar 2002 19:02
To: [EMAIL PROTECTED]
Subject: problems with WSDL2JavaFirst of all, I am using a service that returns a java.util.Map type and this appears to be the problem with attempting to generate java stub classes from the wsdl definition of the service.I am having trouble with the WSDL2Java conversion code from two night's ago axis nightly build 02/05/2002. I am using axis.jar, wsdl4j.jar, log4j-core.jar and clutil.jar from this build. I have attached a sample service wsdl file (AuthenticationService.xml) and the server-config.wsdd file I am using inside of tomcat. This is the command that elicits failure -->D:\>java org.apache.axis.wsdl.WSDL2Java http://localhost/services/AuthenticationSer
vice?wsdl
java.io.IOException: Type http://xml.apache.org/xml-soap:Map is referenced but n
ot defined.
at org.apache.axis.wsdl.toJava.SymbolTable.checkForUndefined(Unknown Sou
rce)
at org.apache.axis.wsdl.toJava.SymbolTable.add(Unknown Source)
at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source)
at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source)
at org.apache.axis.wsdl.WSDL2Java.emit(Unknown Source)
at org.apache.axis.wsdl.WSDL2Java.main(Unknown Source)I tried putting in some custom qname mappings for map but was unable to get that to work either. It looks like map is always getting "mapped" to this http://xml.apache.org/xml-soap:Map type in the wsdl file which appears to not exist.Thank you,- @m