----- Original Message -----
Sent: Sunday, June 02, 2002 11:12
PM
Subject: javax.servlet.ServletException:
Error building response envelope: java.lang.NullPointerException
Hi,
I use i-planet and soap. after i do all kind of required
setup,
get the following error message at server side.
[03/6/2002:14:20:54] failure ( 980): Internal error:
exception thrown from the servlet service function
(uri=/soap/servlet/rpcrouter): javax.servlet.ServletException: Error building
response envelope: java.lang.NullPointerException, Stack:
javax.servlet.ServletException: Error building response envelope:
java.lang.NullPointerException
at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java,
Compiled Code)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
at
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:497)
and the following corresponding message at client
side.
Caught SOAPException (SOAP-ENV:Protocol): Unsupported
response content type "tex
t/html", must be: "text/xml". Response
was:
<HTML><HEAD><TITLE>Server
Error</TITLE></HEAD>
<BODY><H1>Server
Error</H1>
This server has encountered an internal error which
prevents it from fulfilling
your request. The most likely cause is a
misconfiguration. Please ask the admini
strator to look for messages in the
server's error log.
</BODY></HTML>
The soap server setup is ok and the soap service is ok as i
tested using org.apache.soap.server.ServiceManagerClient tool.
Pls tell mw where is the root of the problem .
Thanks in advance!
panda