Hi,

I have a AXIS WebService which is working fine, if I call it from a .NET client. But when I take the the client code generated by (axis tool) wsdl2java 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 localhost.GISConverterSoapBindingStub.getSystems(GISConverterSoapBindingStub.java:161)

����������� at de.ivu.gis.coordinates.samples.Client.main(Client.java:22)

Exception in thread "main"

 

So what I checked the response, coming from the service which looks fine:

HTTP/1.1 200 OK

Content-Type: text/xml; charset=utf-8

Content-Length: 3772

Date: Thu, 11 Apr 2002 14:40:11 GMT

Server: Apache Tomcat/4.0.3 (HTTP/1.1 Connector)

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

�<SOAP-ENV:Body>

� <ns1:getSystemsResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://localhost:8070/axis/services/GISConverter">

�� <getSystemsResult xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[70]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">

��� <item xsi:type="xsd:string">LatLon</item>

��� <item xsi:type="xsd:string">UTM</item>

�� </getSystemsResult>

� </ns1:getSystemsResponse>

�</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

 

Does anybody knows what to do?

Reply via email to