Hi there,

I have been testing some services with no faultListener at all, and everything
worked right. I have tryed DOMFaultListener, and it works ok too. But I
have a problem with ExceptionFaultListener.

When there is no exception generated at the server side, it works fine.
But when there is an exception, I can't access to the Fault, because an
exception is generated on the client side, at the moment of invoking the
service (RPCCall.invoke(url.....). The exception message is the following:

[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content
type "text/html; charset=ISO-8859-1", must be: "text/xml".
Response was:
<html><head><title>Apache Tomcat/5.0.18 - Informe de 
Error</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>Estado HTTP 500 - </h1><HR 
size="1"
noshade><p><b>type</b> Informe de 
Excepción</p><p><b>mensaje</b>
<u></u></p><p><b>descripción</b> <u>El
servidor encontró un error interno () que hizo que no pudiera rellenar este
requerimiento.</u></p><p><b>excepción</b>
<pre>javax.servlet.ServletException: Error building response envelope:
java.lang.NullPointerException
        org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:418)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
</pre></p><p><b>nota</b> <u>La traza
completa de la causa de este error se encuentra en los archivos de diario
de Tomcat.</u></p><HR size="1" noshade><h3>Apache
Tomcat/5.0.18</h3></body></html>
]

Can anyone help me?, do yo need more information about this error?

Thanks very much,

tizo

Reply via email to