[
https://issues.apache.org/jira/browse/RAMPART-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruchith Udayanga Fernando resolved RAMPART-12.
----------------------------------------------
Resolution: Fixed
Fix Version/s: 1.2
This was fixed when we fixed https://issues.apache.org/jira/browse/WSCOMMONS-104
Thanks,
Ruchith
> 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
> Fix For: 1.2
>
>
> 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.