You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Gyorgy Orban (JIRA)" <ji...@apache.org> on 2009/03/11 17:10:50 UTC

[jira] Updated: (CXF-2104) Caller application hangs in case it uses the polling (Response) method with JAX-WS async mapping and an http error occurs during sending. In case of callback style (AsyncHandler), the client application has no way of getting the exception.

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

Gyorgy Orban updated CXF-2104:
------------------------------

    Attachment: ClientOutFaultObserver.patch
                JaxWsClientProxy.patch

> Caller application hangs in case it uses the polling (Response) method with JAX-WS async mapping and an http error occurs during sending. In case of callback style (AsyncHandler), the client application has no way of getting the exception.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2104
>                 URL: https://issues.apache.org/jira/browse/CXF-2104
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.1.4, 2.2, 2.1.5
>         Environment: sun jdk 1.5.x, 1.6.x
>            Reporter: Gyorgy Orban
>         Attachments: ClientOutFaultObserver.patch, JaxWsClientProxy.patch
>
>
> This happens if, for example, a http 404 occurs at sending. If the caller app wants to retrive the response using Response<ResponseBean>.get(), it hangs forever. If it implements the AsynHandler<ResponseBean> method, handleResponse never gets called, which means that the app does not get notified of the exception. The attached patches are against
> http://fisheye6.atlassian.com/browse/~raw,r=651669/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/ClientOutFaultObserver.java
> and
> http://fisheye6.atlassian.com/browse/~raw,r=743441/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java

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