First, a guess. Does your deployment descriptor include white space in the specification of the fault listener? The following might cause an error like you observe:
<isd:faultListener> org.apache.soap.server.DOMFaultListener</isd:faultListener> If you do have white space, get rid of it like: <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultLis tener> Second, if this is not your problem, you may want to grab a nightly build at http://cvs.apache.org/dist/soap/nightly/, as it may have fixed your problem, and if not, it is likely to report it in a more meaningful way. Scott Nichol ----- Original Message ----- From: "Vijay Shinde" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, December 31, 2002 1:08 PM Subject: SOAP Error > > Hey Scott, > > I get this as an exception > C:\soap-2_3\samples\hello>java Example1_client > http://localhost:8080/soap/servle > t/rpcrouter "vv" > > > Calling the SOAP Server to say hello > > > The SOAP Server says: http://localhost:8080/soap/servlet/rpcrouterException > in t > hread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported > respon > se content type "text/html", must be: "text/xml". > Response w > as: > <html><head><title>Apache Tomcat/4.0.4 - Error > report</titl > e><STYLE><!--H1{font-family : sans-serif,Arial,Tahoma;color : > white; > background-color : #0086b2;} BODY{font-family : > sans-serif,Arial,Tahoma;color : > black;background-color : white;} B{color : white;background-color : > #0086b2;} HR > {color : #0086b2;} --></STYLE> > </head><body><h1>Apach > e Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error</h1><HR > size=& > quot;1" noshade><p><b>type</b> Exception > report</p& > gt;<p><b>message</b> <u>Internal Server > Error</u>& > lt;/p><p><b>description</b> <u>The server > encountered > an internal error (Internal Server Error) that prevented it from fulfilling > thi > s request.</u></p><p><b>exception</b> > <pre>j > avax.servlet.ServletException: Error building response envelope: > java.lang.NullP > ointerException > at > org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet. > java:418) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl > icationFilterChain.java:247) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF > ilterChain.java:193) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV > alve.java:243) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline > .java:566) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav > a:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextV > alve.java:190) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline > .java:566) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav > a:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > > at > org.apache.catalina.core.StandardContext.invoke(StandardContext.java: > 2347) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j > ava:180) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline > .java:566) > at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche > rValve.java:170) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline > .java:564) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j > ava:170) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline > .java:564) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 468) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline > .java:564) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav > a:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal > ve.java:174) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline > .java:566) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav > a:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > > at > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso > r.java:1027) > at > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja > va:1125) > at java.lang.Thread.run(Thread.java:479) > </pre></p><HR size="1" > noshade></body></htm > l> > ] > at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:208) > at org.apache.soap.rpc.Call.invoke(Call.java:255) > at Example1_client.main(Example1_client.java:26) > > > If i check the serever error log. > I get following error. > avax.servlet.ServletException: Error building response envelope: > java.lang.NullPointerException > at > org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.jav a:418) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:247) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) > > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:243) > > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) > > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:190) > > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) > > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234 7) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :180) > > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) > > at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa lve.java:170) > > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) > > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :170) > > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) > > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468 ) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) > > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:174) > > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) > > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j ava:1027) > > at > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java: 1125) > > at java.lang.Thread.run(Thread.java:479). > > I can reach my http://localhost:8080/soap/servlet/rpcrouter with no > problems. > > Any suggetions? > > Vijay > > > Scott Nichol wrote: > > > Do you get anything after "Response was:"? The HTTP server or servlet > > engine is returning an error. Reading the response could be helpful. > > You might also check the server error logs. > > > > Scott Nichol > > > > ----- Original Message ----- > > From: "Vijay Shinde" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Monday, December 30, 2002 3:18 PM > > Subject: Re: Supported platforms > > > > > Hi, > > > I am getting content type mismatch error while running SOAP program > > > Any help is appreciated. > > > > > > Vijay > > > > > > The SOAP Server says: Exception in thread "main" [SOAPException: > > > faultCode=SOAP- > > > ENV:Protocol; msg=Unsupported response content type "text/html", must > > > be: "text/ > > > xml". Response was: > > > > > > Scott Nichol wrote: > > > > > > > It's 100% Java except for a provider to support COM (which, of > > course, > > > > requires a Win32 platform). The code requires J2SE 1.2 or later. > > > > > > > > Scott Nichol > > > > > > > > ----- Original Message ----- > > > > From: "Tang Helen-HTANG1" <[EMAIL PROTECTED]> > > > > To: <[EMAIL PROTECTED]> > > > > Sent: Monday, December 30, 2002 3:11 PM > > > > Subject: Supported platforms > > > > > > > > > Anyone has a list of platforms that Apache SOAP software would > > run? > > > > > > > > > > Thanks, > > > > > Helen Tang > > > > > > > > > > -- > > > > > To unsubscribe, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > -- > > > This communication is intended for the addressee(s) and may contain > > > confidential and legally privileged information. We do not waive > > > confidentiality or privilege by mistransmission. If you have received > > this > > > communication in error, any use, dissemination, printing or copying is > > > strictly prohibited; please destroy all electronic and paper copies > > and > > > notify the sender immediately. > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- > This communication is intended for the addressee(s) and may contain > confidential and legally privileged information. We do not waive > confidentiality or privilege by mistransmission. If you have received this > communication in error, any use, dissemination, printing or copying is > strictly prohibited; please destroy all electronic and paper copies and > notify the sender immediately. > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>