You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Eran Chinthaka <ch...@opensource.lk> on 2006/04/24 07:24:06 UTC
Re: [axis2 - 0.93] SOAP Fault - ClassCastException
Hi George,
Seems you are using a bit "old" version of Axis2.
We deprecated and removed the use of Call class after 0.95 (IIRC). As
Deepal stated can you please check with Axis2 1.0 RC2 and let us know. I
may be able to help you.
Thanks,
Chinthaka
George Papandreou wrote:
> Greetings,
>
> I am getting the following exception on reception of a SOAPFault from
> a gSOAP node:
>
> _j__ava.lang.ClassCastException_:
> org.apache.axis2.om.impl.llom.OMElementImpl
>
> at
> org.apache.axis2.soap.impl.llom.SOAPFaultImpl.getDetail(_SOAPFaultImpl.java:133_)
>
> at
> org.apache.axis2.soap.impl.llom.SOAPFaultImpl.getException(_SOAPFaultImpl.java:141_)
>
> at
> org.apache.axis2.client.InOutMEPClient.invokeBlocking(_InOutMEPClient.java:161_)
>
> at org.apache.axis2.client.Call.invokeBlocking(_Call.java:117_)
>
>
>
> The SOAPFault (intercepted with tcpmon) is:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
> xmlns:hb="urn:heartbeat"
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
> xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
> xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#"
> xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
> xmlns:ns1="http://www.genivia.com/schemas/wssetest.xsd"
> xmlns:PurchaseOrder="http://www.e1.com/PurchaseOrder/ABC"
> xmlns:axis2="http://ws.apache.org/namespaces/axis2">
>
> <SOAP-ENV:Body>
>
> <SOAP-ENV:Fault
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/envelope/">
>
> <faultcode>wsse:FailedAuthentication</faultcode>
>
> <faultstring>The security token could not be authenticated or
> authorized</faultstring>
>
> <SOAP-ENV:Detail>FIM credentials check fail</SOAP-ENV:Detail>
>
> </SOAP-ENV:Fault>
>
> </SOAP-ENV:Body>
>
> </SOAP-ENV:Envelope>
>
> Can anyone provide any tips as to how to proceed debugging this?
>
> Many thanks,
>
> /geo
>