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 Franck Baniere <fr...@yahoo.fr> on 2001/08/10 16:17:45 UTC

Unsupported response content type when running the sample addressbook or other

My Config :

OS Win2K Server
WebSphere 3.5.4
Apache SOAP 2.2
Xerces 1.3.4

When I run the sample code calculator or other from a
client.

I got errors:

E:\soap-2_2\samples\calculator>java
samples.calculator.Calculator http://as001/s
oap/servlet/rpcrouter
[SOAPException: faultCode=SOAP-ENV:Protocol;
msg=Unsupported response content ty
pe "text/html; charset=iso-8859-1", must be:
"text/xml". Response was:
]
        at
org.apache.soap.rpc.Call.getEnvelopeString(Call.java:175)
        at
org.apache.soap.rpc.Call.invoke(Call.java:212)
        at
samples.calculator.Calculator.doOp(Calculator.java:220)
        at
samples.calculator.Calculator.access$1(Calculator.java:203)
        at
samples.calculator.Calculator$5.actionPerformed(Calculator.java:179)
        at
java.awt.Button.processActionEvent(Button.java:329)
        at
java.awt.Button.processEvent(Button.java:302)
        at
java.awt.Component.dispatchEventImpl(Component.java:2595)
        at
java.awt.Component.dispatchEvent(Component.java:2499)
        at
java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
        at
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:10
3)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at
java.awt.EventDispatchThread.run(EventDispatchThread.java:84)

Can any one tell me how to fix it?

Thanks.

Franck

___________________________________________________________
Do You Yahoo!? -- Vos albums photos en ligne, 
Yahoo! Photos : http://fr.photos.yahoo.com

Re: Unsupported response content type when running the sample addressbook or other

Posted by Tom Myers <to...@dreamscape.com>.
At 04:17 PM 8/10/2001 +0200, Franck Baniere wrote:
...
>E:\soap-2_2\samples\calculator>java
>samples.calculator.Calculator http://as001/s
>oap/servlet/rpcrouter
>[SOAPException: faultCode=SOAP-ENV:Protocol;
>msg=Unsupported response content ty
>pe "text/html; charset=iso-8859-1", must be:
>"text/xml". Response was:
>]

probably http://xml.apache.org/soap/faq/faq_chawke.html#Q4_5

Tom Myers


Re: Unsupported response content type when running the sample addressbook or other

Posted by Tom Myers <to...@dreamscape.com>.
At 04:17 PM 8/10/2001 +0200, Franck Baniere wrote:
...
>E:\soap-2_2\samples\calculator>java
>samples.calculator.Calculator http://as001/s
>oap/servlet/rpcrouter
>[SOAPException: faultCode=SOAP-ENV:Protocol;
>msg=Unsupported response content ty
>pe "text/html; charset=iso-8859-1", must be:
>"text/xml". Response was:
>]

probably http://xml.apache.org/soap/faq/faq_chawke.html#Q4_5

Tom Myers