cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gyorgy Orban (JIRA)" <j...@apache.org>
Subject [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.
Date Wed, 11 Mar 2009 16:12:50 GMT

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

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

    Description: 
This happens if, for example, an http 404 occurs at sending. If the caller app wants to retrieve
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

  was:
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


> 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, an http 404 occurs at sending. If the caller app wants
to retrieve 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.


Mime
View raw message