Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
-
Axis 2 1.1RC2
Description
I'm currently getting a ClassCastException when parsing a SOAP fault. It appears that the 'Code' child is being cast to SOAPFaultCode, however the implementation class (OMElementImpl) does not implement this interface.
This occurs in OutInAxisOperation at line 308 (soapFault.getCode()). The version of Axiom used is the snapshot supplied with RC2.
java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMElementImpl
at org.apache.axiom.soap.impl.llom.SOAPFaultImpl.getCode(SOAPFaultImpl.java:101)
at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:573)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:502)
Attachments
Issue Links
- is blocked by
-
AXIOM-131 StAX events generated by a faultCode element of a SOAP11 Envelope is incorrect
- Closed