You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Req Chul <df...@yahoo.com> on 2001/03/04 17:55:32 UTC

Ouch, the call failed

Indeed Ouch!
I get the following when trying to deploy any service:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = java.lang.NoSuchMethodError

For example the StockQuote service I try to deploy:
C:\soap-2_1\samples\stockquote>java
org.apache.soap.server.ServiceManagerClient
http://127.0.0.1:1010/soap/servlet/rpcrouter deploy
deploymentdescriptor.xml

I think I've done all my classpath right(that was the
easy part) on both server and client. I tried
different versions of tomcat and soap and xerces.jar
same error.

Passing Objects Problem

Posted by Virat Aggarwal <vi...@softhome.net>.
Hi,

I was trying to run the sample program given on the following link:

http://www-106.ibm.com/developerworks/library/ws-peer3/?dwzone=ws

This has an example of how objects can be passed using SOAP. I have used the exact same setup as mentioned on the link. When I try the code under Passing Objects section, I get the following output:

HTTP/1.0 400 Bad Request
Content-Type: text/xml; charset=UTF-8
Content-Length: 520
Set-Cookie2: JSESSIONID=56g8qeg9h1;Version=1;Discard;Path="/soap"
Set-Cookie: JSESSIONID=56g8qeg9h1;Path=/soap
Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>No Deserializer found to deserialize a 'urn:my_encoding:Invoice' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.</faultstring>
<faultactor>/soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Could anybody suggest why this is happening?
Any help would be appreciated!

Thanks


Passing Objects Problem

Posted by Virat Aggarwal <vi...@softhome.net>.
Hi,

I was trying to run the sample program given on the following link:

http://www-106.ibm.com/developerworks/library/ws-peer3/?dwzone=ws

This has an example of how objects can be passed using SOAP. I have used the exact same setup as mentioned on the link. When I try the code under Passing Objects section, I get the following output:

HTTP/1.0 400 Bad Request
Content-Type: text/xml; charset=UTF-8
Content-Length: 520
Set-Cookie2: JSESSIONID=56g8qeg9h1;Version=1;Discard;Path="/soap"
Set-Cookie: JSESSIONID=56g8qeg9h1;Path=/soap
Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>No Deserializer found to deserialize a 'urn:my_encoding:Invoice' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.</faultstring>
<faultactor>/soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Could anybody suggest why this is happening?
Any help would be appreciated!

Thanks


Re: Ouch, the call failed

Posted by Req Chul <df...@yahoo.com>.
Problem resolved just needed rest and a hint from the
question of a previous poster. Just read
http://www-106.ibm.com/developerworks/library/ws-peer3/?dwzone=ws
and correct the setting in tomcat and set
%classpath%;before %cp% as been said a trillion times
before. First time I seeked help on a mailing list and
apparantly a little too early

> Indeed Ouch!
> I get the following when trying to deploy any
> service:
>   Fault Code   = SOAP-ENV:Server.Exception:
>   Fault String = java.lang.NoSuchMethodError
> 
> For example the StockQuote service I try to deploy:
> C:\soap-2_1\samples\stockquote>java
> org.apache.soap.server.ServiceManagerClient
> http://127.0.0.1:1010/soap/servlet/rpcrouter deploy
> deploymentdescriptor.xml
> 
> I think I've done all my classpath right(that was
> the
> easy part) on both server and client. I tried
> different versions of tomcat and soap and xerces.jar
> same error.
> 
> From the TcpMonitor I get this reply:
> 
> HTTP/1.0 500 Internal Server Error
> Content-Type: text/xml; charset=utf-8
> Content-Length: 468
> Set-Cookie2:
> JSESSIONID=q6kqklayg1;Version=1;Discard;Path="/soap"
> Set-Cookie: JSESSIONID=q6kqklayg1;Path=/soap
> Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1;
> Servlet 2.2; Java 1.3.0; Windows 98 4.90 x86;
> java.vendor=Sun Microsystems Inc.)
> 
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope
>
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema">
> <SOAP-ENV:Body>
> <SOAP-ENV:Fault>
> <faultcode>SOAP-ENV:Server.Exception:</faultcode>
>
<faultstring>java.lang.NoSuchMethodError</faultstring>
> <faultactor>/soap/servlet/rpcrouter</faultactor>
> </SOAP-ENV:Fault>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>HTTP/1.0 500 Internal Server
> Error
> Content-Type: text/xml; charset=utf-8
> Content-Length: 468
> Set-Cookie2:
> JSESSIONID=w8kywzayx1;Version=1;Discard;Path="/soap"
> Set-Cookie: JSESSIONID=w8kywzayx1;Path=/soap
> Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1;
> Servlet 2.2; Java 1.3.0; Windows 98 4.90 x86;
> java.vendor=Sun Microsystems Inc.)
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope
>
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema">
> <SOAP-ENV:Body>
> <SOAP-ENV:Fault>
> <faultcode>SOAP-ENV:Server.Exception:</faultcode>
>
<faultstring>java.lang.NoSuchMethodError</faultstring>
> <faultactor>/soap/servlet/rpcrouter</faultactor>
> </SOAP-ENV:Fault>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> 
> Any ideas?
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Re: Ouch, the call failed

Posted by Req Chul <df...@yahoo.com>.
Problem resolved just needed rest and a hint from the
question of a previous poster. Just read
http://www-106.ibm.com/developerworks/library/ws-peer3/?dwzone=ws
and correct the setting in tomcat and set
%classpath%;before %cp% as been said a trillion times
before. First time I seeked help on a mailing list and
apparantly a little too early

> Indeed Ouch!
> I get the following when trying to deploy any
> service:
>   Fault Code   = SOAP-ENV:Server.Exception:
>   Fault String = java.lang.NoSuchMethodError
> 
> For example the StockQuote service I try to deploy:
> C:\soap-2_1\samples\stockquote>java
> org.apache.soap.server.ServiceManagerClient
> http://127.0.0.1:1010/soap/servlet/rpcrouter deploy
> deploymentdescriptor.xml
> 
> I think I've done all my classpath right(that was
> the
> easy part) on both server and client. I tried
> different versions of tomcat and soap and xerces.jar
> same error.
> 
> From the TcpMonitor I get this reply:
> 
> HTTP/1.0 500 Internal Server Error
> Content-Type: text/xml; charset=utf-8
> Content-Length: 468
> Set-Cookie2:
> JSESSIONID=q6kqklayg1;Version=1;Discard;Path="/soap"
> Set-Cookie: JSESSIONID=q6kqklayg1;Path=/soap
> Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1;
> Servlet 2.2; Java 1.3.0; Windows 98 4.90 x86;
> java.vendor=Sun Microsystems Inc.)
> 
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope
>
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema">
> <SOAP-ENV:Body>
> <SOAP-ENV:Fault>
> <faultcode>SOAP-ENV:Server.Exception:</faultcode>
>
<faultstring>java.lang.NoSuchMethodError</faultstring>
> <faultactor>/soap/servlet/rpcrouter</faultactor>
> </SOAP-ENV:Fault>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>HTTP/1.0 500 Internal Server
> Error
> Content-Type: text/xml; charset=utf-8
> Content-Length: 468
> Set-Cookie2:
> JSESSIONID=w8kywzayx1;Version=1;Discard;Path="/soap"
> Set-Cookie: JSESSIONID=w8kywzayx1;Path=/soap
> Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1;
> Servlet 2.2; Java 1.3.0; Windows 98 4.90 x86;
> java.vendor=Sun Microsystems Inc.)
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope
>
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema">
> <SOAP-ENV:Body>
> <SOAP-ENV:Fault>
> <faultcode>SOAP-ENV:Server.Exception:</faultcode>
>
<faultstring>java.lang.NoSuchMethodError</faultstring>
> <faultactor>/soap/servlet/rpcrouter</faultactor>
> </SOAP-ENV:Fault>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> 
> Any ideas?
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/