You can also add the newer wsdl4j.jar to the servers classpath. Go to the
"Paths" tab of the server configuration and at the bottom of the page you
can add jars to the classpath. I ran into the same problem trying to use
the newest version of xerces, xalan and jdom. If you add the jars here they
are used before the ones in  WSAD (aka Wasabee ).

It seems like it's a WSAD (aka Wasabee ) bug. Anything in the "C:\Program
Files\IBM\WebSphere Studio\runtimes\*\*\*\ dirs used by Wasabee gets loaded
before anything in your ear. I am sure many people are running into the
problem and scratching there heads.

Matt





"Gurkan, Ozzie (MAN-Corporate)" <[EMAIL PROTECTED]> on 03/19/2003
09:15:43 AM

Please respond to [EMAIL PROTECTED]



To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:

Subject:  Warning for WSAD users with WAS 4.0 and trying to use auto wsdl g
      eneration from a URL get



Axis users, be warned that WSAD (Version 5) includes an older version of
the
wsdl4j.jar file under its "runtimes\aes_v4\lib" directory. This file gets
included in the boot classpath for the WAS 4.0 test environment server and
you will run into NoSuchMethodErrors when trying to run the "?wsdl" get
method. I renamed that jar file to wsdl4j.jar.old and it fixed it. I hope
this helps others, too. Here is a print out of the exact error:

javax.wsdl.Definition: method
getBinding&#40;Ljavax/xml/namespace/QName&#59;&#41;Ljavax/wsdl/Binding&#59;
not found: java.lang.NoSuchMethodError: javax.wsdl.Definition: method
getBinding(Ljavax/xml/namespace/QName;)Ljavax/wsdl/Binding; not found
at org.apache.axis.wsdl.fromJava.Emitter.writeBinding(Emitter.java:707)
at org.apache.axis.wsdl.fromJava.Emitter.getWSDL(Emitter.java:382)
at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:262)
at
org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider.java:4

91)
at
org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:72)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:137)
at
org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:372)

at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:498)
at
org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisServlet.ja

va:484)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:285)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:

339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

Hope this helps,
Ozzie Gurkan


 This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law.
If
you are not the intended recipient, you should delete this message and are
hereby notified that any disclosure, copying, or distribution of this
message, or the taking of any action based on it, is strictly prohibited.




This transmission may contain information that is privileged, confidential and/or 
exempt from disclosure under applicable law. If you are not the intended recipient, 
you are hereby notified that any disclosure, copying, distribution, or use of the 
information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. 
If you received this transmission in error, please immediately contact the sender and 
destroy the material in its entirety, whether in electronic or hard copy format. Thank 
you.

Reply via email to