axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Green, J. David" <J.David.Gr...@cwusa.com>
Subject Bug Report using org.apache.axis.wsdl.WSDL2Java
Date Fri, 22 Mar 2002 23:02:57 GMT
Running Axis Beta-1.  Trying to create Java files using the GetQuote.wsdl
provided with stock samples from Axis Beta-1.

Using Java Version on NT 4.0 SP6:

>%JAVA_HOME%\bin\java -version
java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)


Issuing command:

%JAVA_HOME%\bin\java -cp
..\lib\axis.jar;..\lib\clutil.jar;..\lib\tt-bytecode.jar;..\lib\commons-logg
ing.jar;..\lib\jaxrpc.jar;..\lib\jaxp.jar;..\lib\parser.jar;..\lib\sax.jar;.
.\lib\wsdl4j.jar org.apache.axis.wsdl.WSDL2Java --verbose --Debug
--skeletonDeploy true http://localhost/axis/GetQuote.wsdl 

Using wsdl4j.jar (size 143,069) from Axis Beta 1 received:

Parsing XML file:  http://localhost/axis/GetQuote.wsdl
java.lang.NoSuchMethodError
        at javax.wsdl.QName.<init>(QName.java:30)
        at javax.wsdl.QName.matches(QName.java:84)
        at
com.ibm.wsdl.xml.WSDLReaderImpl.checkElementName(WSDLReaderImpl.java:
1202)
        at
com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java:
189)
        at
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:1320)
        at
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:1312)
        at
com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:1337)
        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$WSDLRunnable.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:484)

Please, could you provide a URL to read on WSDL2Java options.  WSDL2Java
--help is not helping me at this point in my knowledge too much.  Would
appreciate it.  However, I believe in this case that the NoSuchMethodError
indicates more than usage errors on my part??

Thanks.

David Green
j.david.green@cwusa.com
Cable & Wireless USA

Mime
View raw message