You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by aman singh <as...@hotmail.com> on 2002/10/17 04:45:52 UTC

content type error html instead of xml

I have installed the apache soap with tomcat. Installating was ok and i am 
able to see the soap router page and soap servce page. When I try to run the 
examples this is what i get.  what am i doing wrong?


Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; 
msg=Unsupported response content type &quot;text/html; 
charset=ISO-8859-1&quot;, must be: &quot;text/xml&quot;. Response was:
&lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/4.1.12-LE-jdk14 - Error 
report&lt;/title&gt;&lt;STYLE&gt;&lt;!--H1{font-family : 
sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} 
H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color : 
#0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : 
black;background-color : white;} B{color : white;background-color : 
#0086b2;} HR{color : #0086b2;} --&gt;&lt;/STYLE&gt; 
&lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 500 - &lt;/h1&gt;&lt;HR 
size=&quot;1&quot; noshade&gt;&lt;p&gt;&lt;b&gt;type&lt;/b&gt; Exception 
report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt; 
&lt;u&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;description&lt;/b&gt; 
&lt;u&gt;The server encountered an internal error () that prevented it from 
fulfilling this 
request.&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;exception&lt;/b&gt;


------------------- any help will be appreciated.

_________________________________________________________________
Broadband? Dial-up? Get reliable MSN Internet Access. 
http://resourcecenter.msn.com/access/plans/default.asp


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: content type error html instead of xml

Posted by Scott Nichol <sn...@scottnichol.com>.
What steps did you follow to install Apache SOAP on Tomcat?  You should
follow these:
http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-soap/java/docs/install/
tomcat.html.  If you have followed different instructions, I recommend
you undo them and follow those at the link above.  Specifically, you
should not edit the Tomcat startup script or place any files anywhere in
Tomcat's directory tree other than to copy soap.war to
$CATALINA_HOME/webapps.  Putting any jars or class files anywhere else
should only be done if you have a thorough understanding of Tomcat's
class loaders:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

Scott Nichol

----- Original Message -----
From: "aman singh" <as...@hotmail.com>
To: <so...@xml.apache.org>
Sent: Wednesday, October 16, 2002 10:45 PM
Subject: content type error html instead of xml


> I have installed the apache soap with tomcat. Installating was ok and
i am
> able to see the soap router page and soap servce page. When I try to
run the
> examples this is what i get.  what am i doing wrong?
>
>
> Exception in thread "main" [SOAPException:
faultCode=SOAP-ENV:Protocol;
> msg=Unsupported response content type &quot;text/html;
> charset=ISO-8859-1&quot;, must be: &quot;text/xml&quot;. Response was:
> &lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/4.1.12-LE-jdk14 -
Error
> report&lt;/title&gt;&lt;STYLE&gt;&lt;!--H1{font-family :
> sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;}
> H3{font-family : sans-serif,Arial,Tahoma;color :
white;background-color :
> #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color :
> black;background-color : white;} B{color : white;background-color :
> #0086b2;} HR{color : #0086b2;} --&gt;&lt;/STYLE&gt;
> &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 500 - &lt;/h1&gt;&lt;HR
> size=&quot;1&quot; noshade&gt;&lt;p&gt;&lt;b&gt;type&lt;/b&gt;
Exception
> report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt;
> &lt;u&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;description&lt;/b&gt;
> &lt;u&gt;The server encountered an internal error () that prevented it
from
> fulfilling this
> request.&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;exception&lt;/b&gt;
>
>
> ------------------- any help will be appreciated.
>
> _________________________________________________________________
> Broadband? Dial-up? Get reliable MSN Internet Access.
> http://resourcecenter.msn.com/access/plans/default.asp
>
>
> --
> To unsubscribe, e-mail:
<ma...@xml.apache.org>
> For additional commands, e-mail:
<ma...@xml.apache.org>
>
>


Re: content type error html instead of xml

Posted by Scott Nichol <sn...@scottnichol.com>.
What steps did you follow to install Apache SOAP on Tomcat?  You should
follow these:
http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-soap/java/docs/install/
tomcat.html.  If you have followed different instructions, I recommend
you undo them and follow those at the link above.  Specifically, you
should not edit the Tomcat startup script or place any files anywhere in
Tomcat's directory tree other than to copy soap.war to
$CATALINA_HOME/webapps.  Putting any jars or class files anywhere else
should only be done if you have a thorough understanding of Tomcat's
class loaders:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

Scott Nichol

----- Original Message -----
From: "aman singh" <as...@hotmail.com>
To: <so...@xml.apache.org>
Sent: Wednesday, October 16, 2002 10:45 PM
Subject: content type error html instead of xml


> I have installed the apache soap with tomcat. Installating was ok and
i am
> able to see the soap router page and soap servce page. When I try to
run the
> examples this is what i get.  what am i doing wrong?
>
>
> Exception in thread "main" [SOAPException:
faultCode=SOAP-ENV:Protocol;
> msg=Unsupported response content type &quot;text/html;
> charset=ISO-8859-1&quot;, must be: &quot;text/xml&quot;. Response was:
> &lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/4.1.12-LE-jdk14 -
Error
> report&lt;/title&gt;&lt;STYLE&gt;&lt;!--H1{font-family :
> sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;}
> H3{font-family : sans-serif,Arial,Tahoma;color :
white;background-color :
> #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color :
> black;background-color : white;} B{color : white;background-color :
> #0086b2;} HR{color : #0086b2;} --&gt;&lt;/STYLE&gt;
> &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 500 - &lt;/h1&gt;&lt;HR
> size=&quot;1&quot; noshade&gt;&lt;p&gt;&lt;b&gt;type&lt;/b&gt;
Exception
> report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt;
> &lt;u&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;description&lt;/b&gt;
> &lt;u&gt;The server encountered an internal error () that prevented it
from
> fulfilling this
> request.&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;exception&lt;/b&gt;
>
>
> ------------------- any help will be appreciated.
>
> _________________________________________________________________
> Broadband? Dial-up? Get reliable MSN Internet Access.
> http://resourcecenter.msn.com/access/plans/default.asp
>
>
> --
> To unsubscribe, e-mail:
<ma...@xml.apache.org>
> For additional commands, e-mail:
<ma...@xml.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>