axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Shiell (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1643) ClassCastException in fault parsing
Date Tue, 07 Nov 2006 17:08:50 GMT
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message