Greetings, I am getting the following exception on reception of a SOAPFault from a gSOAP node: java.lang.ClassCastException : org.apache.axis2.om.impl.llom.OMElementImplat 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 |
- [axis2 - 0.93] SOAP Fault - ClassCastException George Papandreou
- Re: [axis2 - 0.93] SOAP Fault - ClassCastException Deepal Jayasinghe
- Re: [axis2 - 0.93] SOAP Fault - ClassCastException Eran Chinthaka