Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2961

JAXRS Web Client pre-connect errors can be better propagated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.10, 2.3
    • 2.3, 2.2.11
    • JAX-RS
    • None

    Description

      HTTP client errors fall into 2 categories:

      i. The connect succeeds, a non-2xx HTTP response is returned by the service.
      ii. The connect does not succeed because of local HTTP client runtime issues (bad hostname, port unavailable, unsupported method).
      In the later error cases a WebApplication exceptions is returned BUT no root cause exception is available.

      A suggested patch is included.

      Attachments

        1. patch.txt
          1 kB
          Peter Easton

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            peaston Peter Easton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: