Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-278

Add traffic logging when response is fault

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.5 M2
    • Component/s: None
    • Labels:
      None
    • Environment:
      Spring 1.0.3

      Description

      Currently traffic is logged when response doesn't contain fault:
      DEBUG [org.springframework.ws.client.MessageTracing]

      But when there is fault contained in message, exception is raised and no traffic dump is logged.

        Activity

        Hide
        vmarcinko Vjeran Marcinko added a comment -

        Wow, this was fast!

        I didn't mention that this problem of non logging fault messages was present both on client and server side.

        Show
        vmarcinko Vjeran Marcinko added a comment - Wow, this was fast! I didn't mention that this problem of non logging fault messages was present both on client and server side.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Actually, I already implemented it .

        The fact that message tracing does not occur on the server side is strange, though. If I look at the code, it should happen.

        Show
        arjen.poutsma Arjen Poutsma added a comment - Actually, I already implemented it . The fact that message tracing does not occur on the server side is strange, though. If I look at the code, it should happen.
        Hide
        fbascheper Erik-Berndt Scheper added a comment -

        My experience is that faults on the server are not logged if the org.springframework.ws.server.endpoint.interceptor.PayloadLoggingInterceptor is used, but that they will be logged by the org.springframework.ws.soap.server.endpoint.interceptor.SoapEnvelopeLoggingInterceptor.

        Show
        fbascheper Erik-Berndt Scheper added a comment - My experience is that faults on the server are not logged if the org.springframework.ws.server.endpoint.interceptor.PayloadLoggingInterceptor is used, but that they will be logged by the org.springframework.ws.soap.server.endpoint.interceptor.SoapEnvelopeLoggingInterceptor.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing 1.5 M2 issues.

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing 1.5 M2 issues.

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            vmarcinko Vjeran Marcinko
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: