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 "CHAINE, yoann" <yo...@decan.fr> on 2002/02/18 14:36:28 UTC

Set Header entries

Hello!

When I set parameters as headers entries for a soap client, I have got the
following error:

Exception in thread "main" java.lang.ClassCastException:
org.apache.soap.rpc.Parameter
        at org.apache.soap.Header.marshall(Header.java:134)
        at org.apache.soap.Envelope.marshall(Envelope.java:189)
        at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.ja
va:246)
        at org.apache.soap.rpc.Call.invoke(Call.java:205)

This is the same thing with all class I test...

Some body know what?

I use soap 2.2 on windows 2000.

Yoann