You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Claudio Buffa Pace <Cl...@ebucks.com> on 2002/03/06 13:53:10 UTC

Problem with classpath

HI All:

I made use of the wsdl2java compiler to create a client stub.  However 
when I attempt to use it,
I get the following error.


java.lang.NoSuchMethodError
   at org.apache.axis.encoding.DeserializationContextImpl.parse(Unknown 
Source)
   at org.apache.axis.SOAPPart.getAsSOAPEnvelope(Unknown Source)
   at org.apache.axis.client.Call.invoke(Unknown Source)
   at org.apache.axis.client.Call.invoke(Unknown Source)
   at org.apache.axis.client.Call.invoke(Unknown Source)
   at org.apache.axis.client.Call.invoke(Unknown Source)
   at 
org.soapinterop.SoapTestSoapStub.echoSimpleTypesAsStruct(SoapTestSoapStub.java:213)
   at 
org.soapinterop.SoapTestTestCase.test4SoapTestSoapEchoSimpleTypesAsStruct(SoapTestTestCase.java:83)
   at com.ebucks.test.TestClient.main(TestClient.java:17)
5) 
test5SoapTestSoapEchoStructAsSimpleTypes(org.soapinterop.SoapTestTestCase)

I think this has to do with a faulty classpath, but where I am not sure. 
 I have all the relevant axis jars in my classpath,
and a copy of latest xerces.jar to.  

Anyone have any ideas?  

Thanks

Claudio

-- 
Claudio Buffa Pace
eBucks.com

http://www.ebucks.com
+27-(0)11-282-4666
mail:claudio.buffapace@ebucks.com 





Re: Problem with classpath

Posted by Richard Grossman <ri...@goldmail.net.il>.
Hi

Use it like this:
java -cp 
axis.jar;clutil.jar;log4j-core.jar;d:/JBuilder6/lib/xerces.jar;d:/Jbuilder6/lib/wsdl4j.jar 
org.apache.axis.wsdl.Wsdl2java  <URL>
assume that your are in the lib axis lib directory

Bye

Richard Grossman


At 02:53 PM 3/6/2002 +0200, you wrote:

>HI All:
>
>I made use of the wsdl2java compiler to create a client stub.  However 
>when I attempt to use it,
>I get the following error.
>
>
>java.lang.NoSuchMethodError
>   at org.apache.axis.encoding.DeserializationContextImpl.parse(Unknown 
> Source)
>   at org.apache.axis.SOAPPart.getAsSOAPEnvelope(Unknown Source)
>   at org.apache.axis.client.Call.invoke(Unknown Source)
>   at org.apache.axis.client.Call.invoke(Unknown Source)
>   at org.apache.axis.client.Call.invoke(Unknown Source)
>   at org.apache.axis.client.Call.invoke(Unknown Source)
>   at 
> org.soapinterop.SoapTestSoapStub.echoSimpleTypesAsStruct(SoapTestSoapStub.java:213)
>   at 
> org.soapinterop.SoapTestTestCase.test4SoapTestSoapEchoSimpleTypesAsStruct(SoapTestTestCase.java:83)
>   at com.ebucks.test.TestClient.main(TestClient.java:17)
>5) test5SoapTestSoapEchoStructAsSimpleTypes(org.soapinterop.SoapTestTestCase)
>
>I think this has to do with a faulty classpath, but where I am not sure. I 
>have all the relevant axis jars in my classpath,
>and a copy of latest xerces.jar to.
>
>Anyone have any ideas?
>
>Thanks
>
>Claudio
>
>--
>Claudio Buffa Pace
>eBucks.com
>
>http://www.ebucks.com
>+27-(0)11-282-4666
>mail:claudio.buffapace@ebucks.com
>
>