ClassCastException in fault parsing
-----------------------------------
Key: AXIS2-1643
URL: http://issues.apache.org/jira/browse/AXIS2-1643
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: kernel
Affects Versions: 1.1
Environment: Axis 2 1.1RC2
Reporter: James Shiell
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]