axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-4561) JAX-WS: ClassCastException when Dispatch<OMElement> receives a SOAPFault
Date Fri, 20 Nov 2009 21:01:39 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rich Scheuerle resolved AXIS2-4561.
-----------------------------------

    Resolution: Fixed

> JAX-WS: ClassCastException when Dispatch<OMElement> receives a SOAPFault
> ------------------------------------------------------------------------
>
>                 Key: AXIS2-4561
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4561
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Rich Scheuerle
>            Assignee: Rich Scheuerle
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The following exception occurred when a JAX-WS Dispatch<OMElement> API was used
on the client, and the server responded with a message containing a SOAPFault.
> javax.xml.ws.WebServiceException: java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMSourcedElementImpl
incompatible with org.apache.axiom.soap.SOAPFault
>        at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:175)
>        at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
>        at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:128)
>        at org.apache.axis2.jaxws.client.dispatch.BaseDispatch.invoke(BaseDispatch.java:244)
> Analysis:
> The ParserInputStreamCustomBuilder was inadvertently optimizing the input stream even
though the message contained a SOAPFault.  I am changing the code to detect this situation
and disable the optimization.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message