You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Yiyan Chen <yc...@jgsullivan.com> on 2001/06/14 22:08:30 UTC

Content type error, Help!!!

When I run the sample code  from apache: AddressBook.

I got errors:

[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response 
content type "text/html", must be: "text/xml". Response was:
<head><title>Not Found (404)</title></head>

<body><h1>Not Found (404)</h1>

<b>Original request:</b> /soap/servlet/rpcrouter<br><br>

<b>Not found request:</b> /soap/servlet/rpcrouter</body>

]

	at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:175)

	at org.apache.soap.rpc.Call.invoke(Call.java:212)

	at samples.addressbook.GetAddress.main(GetAddress.java:125)

Caught SOAPException (SOAP-ENV:Protocol): Unsupported response content type 
"text/html", must be: "text/xml". Response was:
<head><title>Not Found (404)</title></head>

<body><h1>Not Found (404)</h1>

<b>Original request:</b> /soap/servlet/rpcrouter<br><br>

<b>Not found request:</b> /soap/servlet/rpcrouter</body>

Can any one tell me how to fix it?

Thanks.
Yiyan


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org