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
      Hello,

      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
      response.


      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
      Client-Peer: 127.0.0.1:8181
      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.

      Thanks,
      Ashish







      _________________________________________________________________
      MSN 8: advanced junk mail protection and 3 months FREE*.
      http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU=
      http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_advancedjmf_3mf