[ http://issues.apache.org/jira/browse/AXIS2-439?page=comments#action_12365994 ]
Deepak Bhole commented on AXIS2-439: ------------------------------------ Fixed in svn. > Axis2 client has a ClassCastException if there is a SOAP fault when running > with REST support > --------------------------------------------------------------------------------------------- > > Key: AXIS2-439 > URL: http://issues.apache.org/jira/browse/AXIS2-439 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Components: core > Environment: IBM JDK 1.5, Fedora Core 4 [Kernel v. 2.6.13.x] > Reporter: Deepak Bhole > Priority: Minor > Attachments: axis2-439.patch > > When running with REST support, if there is a SOAP fault (in my case, I > attempted to call an invalid service), the client application will encounter > a ClassCastException (it should encounter an AxisFault). > The error is caused because when a response is received from the server, the > StAXOMBuilder is used to build the envelope (instead of the > StAXSOAPModelBuilder); this builds a generic OM, not a SOAP model. -- 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
