Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0.RELEASE
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When Spring WS makes a SOAP call, and receives back HTTP 500, it ignores the response code, and considers the call as successful:

      o.a.h.wire | http-outgoing-0 << "HTTP/1.1 500 Internal Server Error [\r][\n]"
      o.a.h.wire | http-outgoing-0 << "Content-Type: application/soap+xml[\r][\n]"
      o.a.h.wire | http-outgoing-0 << "Content-Length: 0[\r][\n]"
      o.a.h.wire | http-outgoing-0 << "Server: WEBrick/1.3.1 (Ruby/1.9.1/2009-12-07) OpenSSL/0.9.8e-rhel5[\r][\n]"
      o.a.h.wire | http-outgoing-0 << "Date: Fri, 15 Apr 2016 14:46:53 GMT[\r][\n]"
      o.a.h.wire | http-outgoing-0 << "Connection: Keep-Alive[\r][\n]"
      o.a.h.wire | http-outgoing-0 << "[\r][\n]"
      o.a.h.imp~.exe~.MainClientExec | Connection can be kept alive indefinitely
      o.s.w.cli~.Mes~.received | Received no response for request [...]

      On the contrary, when receiving 50x other then 500, it fails properly:

      o.s.w.cli~.cor~.WebServiceTemplate | Received error for request [...]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ibrencsics Ivan Brencsics
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: