• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SOAP, TOMCAT Unsupported response content type

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Thank you my well lotioned goddess! Here, have my favorite tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic