[
https://issues.apache.org/jira/browse/RAMPART-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davanum Srinivas moved AXIS2-1643 to RAMPART-12:
------------------------------------------------
Component/s: (was: kernel)
Assignee: (was: Amila Chinthaka Suriarachchi)
Affects Version/s: (was: 1.2)
Key: RAMPART-12 (was: AXIS2-1643)
Project: Rampart (was: Axis 2.0 (Axis2))
> ClassCastException in fault parsing
> -----------------------------------
>
> Key: RAMPART-12
> URL: https://issues.apache.org/jira/browse/RAMPART-12
> Project: Rampart
> Issue Type: Bug
> Environment: Axis 2 1.1RC2
> Reporter: James Shiell
> Priority: Blocker
>
> 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.
-
You can reply to this email to add a comment to the issue online.