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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to