Uploaded image for project: 'CXF'
  1. CXF
  2. 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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.4, 2.2, 2.1.5
    • 2.0.11, 2.1.5
    • JAX-WS Runtime
    • None
    • sun jdk 1.5.x, 1.6.x

    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

      Attachments

        1. JaxWsClientProxy.patch
          1 kB
          Gyorgy Orban
        2. ClientOutFaultObserver.patch
          0.8 kB
          Gyorgy Orban

        Activity

          People

            dkulp Daniel Kulp
            orbang Gyorgy Orban
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: