Russel,
Yep, that did it. I did not update the directory containing the wsdl4j.jar
file. I had one from december last year. I should learn to update every used
directory :-{. Thanks for the feedback.
Michel
-----Original Message-----
From: Russell Butek [mailto:[EMAIL PROTECTED]]
Sent: donderdag 21 maart 2002 15:07
To: [EMAIL PROTECTED]
Subject: Re: NoSuchMethodError while using WSDL2Java
Where did you get your wsdl4j.jar? There are actually 2 (or more?) of
those floating around and they're not compatible. You should use the one
that is packaged with AXIS.
Russell Butek
[EMAIL PROTECTED]
Michel Bergijk <[EMAIL PROTECTED]> on 03/21/2002 03:47:42 AM
Please respond to [EMAIL PROTECTED]
To: "axis (E-mail)" <[EMAIL PROTECTED]>
cc:
Subject: NoSuchMethodError while using WSDL2Java
Fellow Axis users,
While using WSDL2Java I got a NoSuchMethodError (see call and error message
below). Can anyone comment on this?
My Classpath (using echo %classpath%):
.;C:\Apache\soap-2_2\lib\soap.jar;C:\Apache\tomcat\lib\xerces.jar;C:
\Apache\
tomcat\lib\mail.jar;
C:\Apache\tomcat\lib\activation.jar;C:\Apache\axis\lib\axis.jar;C:
\Apache\ax
is\lib\commons-logging.jar;
C:\Apache\axis\lib\log4j-core.jar;C:\Apache\axis\lib\tt-bytecode.jar;C:
\Apac
he\axis\lib\jaxrpc.jar;
C:\Apache\axis\lib\clutil.jar;C:\wrox\lib\wsdl4j.jar
The call and error message:
C:\wrox\wroxinsurance>java org.apache.axis.wsdl.WSDL2Java -v -o
C:\wrox\provider
1\tomcat\webapps\axis\WEB-INF\classes\com\provider1 -d "Session" -s
-Nurn:Appoin
tment com\provider1
C:\wrox\wroxinsurance\tomcat\webapps\axis\WEB-INF\classes\co
m\wroxinsurance\appointment.wsdl
Parsing XML file:
C:\wrox\wroxinsurance\tomcat\webapps\axis\WEB-INF\classes\com
\wroxinsurance\appointment.wsdl
java.lang.NoSuchMethodError
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(Unknown Source)
With regards,
Michel Bergijk