ws-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew J. Duftler" <duft...@watson.ibm.com>
Subject RE: Similar install problems -
Date Fri, 01 Jun 2001 21:14:17 GMT
Hi Ed,

Can you run the TcpTunnelGui (as described in the documentation) and see
what's actually getting sent back.

Thanks,
-Matt

> -----Original Message-----
> From: Tolsch, Ed [mailto:Ed.Tolsch@fmr.com]
> Sent: Friday, June 01, 2001 5:01 PM
> To: 'soap-user@xml.apache.org'
> Subject: Similar install problems -
>
>
> I'm running soap 2.1, under IBM websphere 3.5.
> I'm getting a similar problem. I can run the
> http://localhost:port/soap/server/rpcrouter and I get a reply message but
> when I run the ServiceManagerClient I get the following error.
> Any thoughts
> would be greatly appreciated.???? Thanks in advance.
> My classpath has xerces.jar , soap.jar, mail.jar, activation.jar in that
> order.
>
> Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
> msg=Unsupported response content type "text/html;
> charset=iso-8859-1", must
> be: "text/xml". Response was:
> ]
>         at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:173)
>         at org.apache.soap.rpc.Call.invoke(Call.java:210)
>         at
> org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceMa
> nagerClien
> t.java:127)
>         at
> org.apache.soap.server.ServiceManagerClient.list(ServiceManagerCli
> ent.java:1
> 49)
>         at
> org.apache.soap.server.ServiceManagerClient.main(ServiceManagerCli
> ent.java:2
> 35)
>
> > -----Original Message-----
> > From:	William A. Nagy [SMTP:nagy@watson.ibm.com]
> > Sent:	Friday, June 01, 2001 11:33 AM
> > To:	soap-user@xml.apache.org
> > Subject:	Re: cannot get past install problems
> >
> > Hi James,
> >
> > Do me a favor and make sure that there is actually a
> > MimeTypeParseException class in your activation.jar (i.e. jar -tf
> > activation.jar).  I generally use the j2ee.jar from Sun's J2EE
> > reference implementation, just because it has the activation, mail,
> > and ejb stuff in one convenient package.
> >
> > When you say "You can run the SOAP administrator and deploy services",
> > do you mean that you are using the admin JSP pages?  (If yes: The
> > ServiceManagerClient actually generates SOAP messages, while the admin
> > JSP pages do not, which is why you are not seeing the error earlier.)
> >
> > -Bill
> >
> > >Using: Windows 2000
> > >Tomcat 3.2.1
> > >xerces 1.4.0
> > >soap 2.2
> > >
> > >Put soap.war in tomcat\webapps
> > >put mail.jar and activation.jar in soap\lib
> > >set classpath to
> > >c:\xerces\xerces.jar;c:\soap\lib\soap.jar;c:\soap\lib\mail.jar;c:
> > >\soap\lib\activation.jar;c:\tomcat\lib\servlet.jar;.;D:
> > >\sqllib\java\db2java.zip;D:\sqllib\java\runtime.zip;D:
> > >\sqllib\java\sqlj.zip;D:\sqllib\bin
> > >
> > >Modified tomcat.bat  to show
> > >set CP=c:\xerces\xerces.jar;%CLASSPATH%;%CP%
> > >
> > >Tomcat starts fine
> > >
> > >You can run the SOAP administrator and deploy services, and
> > >http://localhost:8080/soap/servlet/rpcrouter returns the expected
> > message,
> > >but
> > >
> > >java org.apache.soap.server.ServiceManagerClient
> > >http://localhost:8080/soap/servlet/rpcrouter list
> > >
> > >causes:
> > >Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
> > >msg=Unsupported response content type text/html", must be: "text/xml".
> > >Response was:
> > ><h1>Error: 500</h1>
> > ><h2>Location: /soap/servlet/rpcrouter</h2><b>Internal Servlet
> > >Error:</b><br><pre
> > >>java.lang.NoClassDefFoundError:
> javax/activation/MimeTypeParseException
> > >        at
> > >org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.
> > >java:220)
> > >
> > >etc. etc.
> > >
> > >I guess I'll go back to SOAP 2.0 unless someone has a suggestion.
> > >
> > >
> > >James W. Cooper
> > >Advanced Information Retrieval and Analysis
> > >IBM T J Watson Research Center
> > >jwcnmr@watson.ibm.com
> > >http://flahdo.watson.ibm.com/
> > >http://www.research.ibm.com/people/j/jwcnmr/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> > For additional commands, email: soap-user-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Mime
View raw message