Hey Scott,
I got rid of the white space Now i am getting following error.

C:\soap-2_3\samples\hello>java Example1_client
http://localhost:8080/soap/servle
t/rpcrouter "vijay"


Calling the SOAP Server to say hello


The SOAP Server says: http://localhost:8080/soap/servlet/rpcrouter
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.BadTargetObjectURI
  Fault String = Unable to resolve target object: samples.Hello

Vijay

Scott Nichol wrote:

> 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 &quot;text/html&quot;, must be: &quot;text/xml&quot;.
> > Response w
> > as:
> > &lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/4.0.4 - Error
> > report&lt;/titl
> > e&gt;&lt;STYLE&gt;&lt;!--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;} --&gt;&lt;/STYLE&gt;
> > &lt;/head&gt;&lt;body&gt;&lt;h1&gt;Apach
> > e Tomcat/4.0.4 - HTTP Status 500 - Internal Server
> Error&lt;/h1&gt;&lt;HR
> > size=&
> > quot;1&quot; noshade&gt;&lt;p&gt;&lt;b&gt;type&lt;/b&gt; Exception
> > report&lt;/p&
> > gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt; &lt;u&gt;Internal Server
> > Error&lt;/u&gt;&
> > lt;/p&gt;&lt;p&gt;&lt;b&gt;description&lt;/b&gt; &lt;u&gt;The server
> > encountered
> >  an internal error (Internal Server Error) that prevented it from
> fulfilling
> > thi
> > s request.&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;exception&lt;/b&gt;
> > &lt;pre&gt;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)
> > &lt;/pre&gt;&lt;/p&gt;&lt;HR size=&quot;1&quot;
> > noshade&gt;&lt;/body&gt;&lt;/htm
> > l&gt;
> > ]
> >         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]>

--
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]>

Reply via email to