• Post Reply Bookmark Topic Watch Topic
  • New Topic

SOAP, TOMCAT Unsupported response content type  RSS feed

 
L Wolpert
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,
I have installed Tomcat and Apache on NT. I can point my browser to http://<server> ort/soap/servlet/rpcrouter and get the desired response of 'Sorry, I don't speak via HTTP GET- ....', but when I run the test:
java org.apache.soap.server.ServiceManagerClient rpc-router-url list I get an error like:
Unsupported response content type "text/html", must be "text/xml"
Insertnal servlet error, null pointer exception
any help is appreciated, I have looked on many discussion forms and was unable to find an answer to this problem.
Larry
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, what this is saying is that the Apache SOAP Servlet encountered an error during its execution. Have you looked in the catalina.log file to find out what is there?
Kyle
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An error from your client that looks like "Unsupported response content type "text/html", must be "text/xml"
means that you got an error from the web server / servlet engine before the request ever got processed by the rpcrouter. There is more information there but to get it you need to be able to look at everything that comes back from the server.
You could use the TcpTunnelGui that comes with Apache SOAP or the UtilSnoop utility I wrote - download from:
My SOAP book web page
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!