What did you do to get rid of that text/html
problem?
You can list the deployed services via this command:

java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter list

or clicking on "list" button on
http://localhost:8080/soap/admin/

I the urn:onjava is not listed, then that service is
not deployed.

I have not have to modify web.xml mappings as the
rpcrouter is the Servlet responding to deployment and
listing of services. messagerouter is the other
Servlet that handles messaging within SOAP.  TCPMON I
suggested is a very helpful tool, to let you view what
is being posted to Tomcat.


--- feilong <[EMAIL PROTECTED]> wrote:

> Hallo, aka_sergio
> Thanks for your reply. My problem looks like the
> following now:
>
D:\Programs\jakarta-tomcat-4.1.30\webapps\soap\WEB-INF\classes>java
> onjava.CalcC
> lient 98 96
> I am called!
> The call failed:
> Fault Code   = SOAP-ENV:Server.Exception:
> Fault String = onjava/CalcService (wrong name:
> CalcService)
> 
> I follow each step from this tutorial. I put my
> CalcService.java and
> CalcClient.java in
> tomcat_Home\webapps\soap\WEB-INF\classes\onjava
> The all code are compiled(surely). I think that I
> needn't edit anything in
> web.xml and server.xml,
> because we have DeploymentDescriptor.xml, which
> defined the path, the urn
> for the servlet.
> Tomcat is smart enough to find CalcService.java. I
> consider that the request
> from client is not transfered to the server,
> That means that Tomcat hasn't found CalcService.java
> while client runs. I
> don't why, I can deploy and undeploy this
> webservice,
> all the code are copied from this tutorial, I don't
> know why?
> 
> 
> Best
> Feilong
> ----- Original Message ----- 
> From: "sven morales" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, November 15, 2004 2:39 PM
> Subject: RE: Soap under Tomcat
> 
> 
> > Exception in thread "main" [SOAPException:
> > faultCode=SOAP-ENV:Protocol; msg=Unsupported
> response
> > content type &quot;text/html;
> > charset=ISO-8859-1&quot;, must be :
> > &quot;text/xml&quot;. Response was:
> > &lt;html&gt;&lt;head&gt;&lt;title&gt;Apache
> > Tomcat/4.1.30 - Error report&lt;/tit
> >
> > Your error seems to point to the type  text/html.
> > Apache SOAP uses POST and type text/xml.  I don't
> know
> > how your program spits out text/html.  I tried
> same
> > tutorial and it works for me.
> >   Also there is a tool called tcpmon thats very
> > helpful in seeing whats being sent (HTTP) towards
> > Tomcat and Tomcats HTTP response.
> >
> > aka_sergio
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to