Hi, 

How did you manage to have the URL
http://localhost:8080/soap/servlet/rpcrouter works fine. With me it's not the case. 
It display this message: 
HTTP status 503

message: Servlet rpcrouter is currently unavailable
description: The requested service (Servlet rpcrouter is currently unavailable) is not 
currently available.
Do you know what mistake did I do ? 
Thanks
Aurore


-----Original Message-----
From: Vibha Sridhar [mailto:[EMAIL PROTECTED]]
Sent: mercredi 3 avril 2002 12:07
To: [EMAIL PROTECTED]
Subject: Apache Soap RPCRouter problems



Hi there,

I would really appreciate if someone can help me solve this problem
related to running a simple Apache SOAP Sample.

I downloaded and installed  the following

a)Apache Web Server
b)Jakarta Tomcat 3.3.1
c)Apache SOAP 2.2 and all the related JAR files like Xerces, Activation
etc.

I followed instructions as detailed in the web site.

I could successfully deploy the web service. The URL
http://localhost:8080/soap/servlet/rpcrouter works fine.

But when i  trying to run the Greetings sample client, i get the
following error -


--------------------------------------------------------------------
[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response
content type "text/html", must be: "text/xml". Respon
se was:
<head><title>Error: 500</title></head>
<body>
<h1>Error: 500</h1>
<h2>Location: /soap/servlet/rpcrouter</h2><b>Internal Servlet
Error:</b><br>
<pre>javax.servlet.ServletException: Error building response envelope:
java.lang.NullPointerException
        at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:353)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)

        at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
        at org.apache.tomcat.core.Handler.service(Handler.java:235)
        at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)

        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)

        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
        at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)

        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)

        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)

        at java.lang.Thread.run(Thread.java:536)
</pre>
</body>
]
        at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:175)
        at org.apache.soap.rpc.Call.invoke(Call.java:212)
        at GreeterClient.main(GreeterClient.java:22)
Exception in thread "main" java.lang.NullPointerException
        at GreeterClient.main(GreeterClient.java:31)

------------------------------------

I went to the "troubleshooting" site of Apache SOAP and the solution
suggested for this kind of error was not of much help.

I am stuck with this problem for quite sometime now and would appreciate
if anyone can throw some light on this.

thanks
VS


Reply via email to