Loading ...
Sorry, an error occurred while loading the content.

2221"Unexpected Content-Type 'text/plain' returned" error

Expand Messages
  • Ashish Gawali
    Dec 31, 2002
    • 0 Attachment

      I am getting "Unexpected Content-Type 'text/plain' returned" error while
      running my sample
      SOAP program. From trace, it seems the SOAP server is throwing text/plain
      content type
      instead of usual text/xml. Below is the part of trace output cloned for the

      SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x850ab30)
      SOAP::Transport::HTTP::Client::send_receive: HTTP/1.0 200 OK
      Date: Tue, 31 Dec 2002 14:49:05 GMT
      Content-Length: 226
      Content-Type: text/plain
      Last-Modified: Tue, 31 Dec 2002 07:17:42 GMT
      Client-Date: Tue, 31 Dec 2002 14:49:05 GMT
      Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.3.1;
      Linux 2.4.7-10 i386; java.vendor=Sun Microsystems Inc.)

      I am running my HTTP server using Tomcat on linux box. HTTP request is sent
      in text/xml format as expected.
      Any help in this regard will be helpful.


      MSN 8: advanced junk mail protection and 3 months FREE*.