Uploaded image for project: 'FUSE Services Framework'
  1. FUSE Services Framework
  2. SF-256

Wrong soap fault code thrown on network connection failure

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Resolved at Apache
    • Affects Version/s: 2.2.6-fuse-01-00
    • Fix Version/s: 2.2.9-fuse-01-00
    • Component/s: None
    • Labels:
      None
    • Similar Issues:
      Show 9 results 

      Description

      From bug CXF-2780 :

      When a webservice call fails due to a network failure (for example when the server is down and no connection can be made) CXF throws SoapFault with client fault code. This violates the following rule:
      "The Client class of errors indicate that the message was incorrectly formed or did not contain the appropriate information in order to succeed. For example, the message could lack the proper authentication or payment information. It is generally an indication that the message should not be resent without change." (http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383510)
      Exception is thrown in the following place:http://fisheye6.atlassian.com/browse/cxf/branches/2.2.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapOutInterceptor.java?r=920584#l285. I believe that it should be enough and safe to change "soapVersion.getSender()" in the linked code to "soapVersion.getReceiver()".

        Gliffy Diagrams

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              ffang Freeman(Yue) Fang
              Reporter:
              socallag Sean O'Callaghan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: