I use the following command to test the samples:
(activation.jar already in my classpath)
 
java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml
 
error returns:
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml". Response was:
<title>500 Servlet Exception</title>
<h1>500 Servlet Exception</h1>
<code><pre>
java.lang.NoClassDefFoundError: javax/activation/MimeTypeParseException
        at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:286)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:82)
        at com.caucho.server.http.Invocation.service(Invocation.java:259)
        at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:146)
        at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:238)
        at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:157)
        at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
        at java.lang.Thread.run(Thread.java:536)
</pre></code>
<hr /><small>
Resin 1.3.b1 (built Mon Jan 29 19:25:51 PST 2001)
</small>
]
        at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:208)
        at org.apache.soap.rpc.Call.invoke(Call.java:255)
        at org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClient.java:129)
        at org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java:142)
        at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:230)
 
 

Reply via email to