You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepak Bhole (JIRA)" <ji...@apache.org> on 2006/02/15 00:36:10 UTC

[jira] Resolved: (AXIS2-439) Axis2 client has a ClassCastException if there is a SOAP fault when running with REST support

     [ http://issues.apache.org/jira/browse/AXIS2-439?page=all ]
     
Deepak Bhole resolved AXIS2-439:
--------------------------------

    Fix Version: 0.95
     Resolution: Fixed
      Assign To: Deepak Bhole

Fixed in trunk.

> 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
>     Assignee: Deepak Bhole
>     Priority: Minor
>      Fix For: 0.95
>  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