Martin, The contents of the Tomcat log relating to this exception are the following:
2004-06-07 18:28:13 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]] 2004-06-07 18:28:15 StandardContext[/jsp-examples]ContextListener: contextInitialized() 2004-06-07 18:28:15 StandardContext[/jsp-examples]SessionListener: contextInitialized() 2004-06-07 18:28:15 StandardContext[/servlets-examples]ContextListener: contextInitialized() 2004-06-07 18:28:15 StandardContext[/servlets-examples]SessionListener: contextInitialized() 2004-06-07 18:28:22 StandardWrapperValve[rpcrouter]: Servlet.service() for servlet rpcrouter threw exception javax.servlet.ServletException: Error building response envelope: java.lang.NullPointerException at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:418) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) Scott, Neither is whitespace in the name of the fault listener class nor the class is misspelled. I am going to try with the nightly build of Apache SOAP. Thanks you both very much, tizo >-- Mensaje original -- >Reply-To: [EMAIL PROTECTED] >From: "Martin Gainty" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: Re: fault listener >Date: Mon, 7 Jun 2004 07:28:34 -0400 > > >Tizo >Can you display the contents of the Tomcat log relating to this exception >Martin >----- Original Message ----- >From: <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, June 07, 2004 1:52 AM >Subject: fault listener > > >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;fo >nt-size:22px;} >H2 >{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo >nt-size:16px;} >H3 >{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo >nt-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:41 >8) > 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 >