Hello Chandru,
The URL is fine as when i try the URL you mentioned it works just fine. I can get to the URL which shows the "List" "Deploy" and "Undeploy" links too. I just cannot figure out why is this error? VS Chandrashekhar B wrote: > I don't know if you have deployed the sample service you are trying to > run. Error:500, it's not able to locate the sevice. > > And make sure that 8080 is their in the URL, > http://localhost:8080/soap/servlet/rpcrouter , if you haven't > integrated Apache Web Server and Tomcat to work together. > > Chandru. > > > > >>> [EMAIL PROTECTED] 04/03/02 03:36PM >>> > > 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
begin:vcard n:Sridhar;Vibha tel;cell:+91-98452-84242 tel;fax:+91-80-2231794 tel;work:+91-80-2298989 x 87576 x-mozilla-html:TRUE url:www.iplanet.com/trustbase org:<a href="http://www.iplanet.com"><img border=0 src="http://www.iplanet.com/images/vcards/iplanetBC4.gif"></a> version:2.1 email;internet:[EMAIL PROTECTED] title:Senior Technical Marketing Consultant, APAC adr;quoted-printable:;;Sun Microsystems India Pvt Ltd.=0D=0A7th Floor, Divya Shree Chambers,=0D=0AOff Langford Road,=0D=0AShanthinagar;Bangalore;Karnataka;560025;India fn:Vibha Sridhar end:vcard