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

SoapEnvelopeLoggingInterceptor won't log

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.1 GA
    • Fix Version/s: 2.1.1
    • Component/s: None
    • Labels:
      None

      Description

      The SoapEnvelopeLoggingInterceptor does not log request/responses.

      I'm using 2.1.0.RELEASE spring-ws-core, with the SoapEnvelopeLoggingInterceptor as the first/only interceptor (I usually have the payload and validation interceptors also).

      <!-- ordered(!) list of interceptors -->
      <sws:interceptors>
      	
      	<bean id="soapInterceptor"
      		class="org.springframework.ws.soap.server.endpoint.interceptor.SoapEnvelopeLoggingInterceptor">
      		<property name="logFault" value="true" />
      		<property name="logRequest" value="true" />
      		<property name="logResponse" value="true" />			
      	</bean>

      and setting log4j level to debug on org.springframework.ws.server.endpoint.interceptor to debug.

      If I add the PayloadLoggingInterceptor, I can see the Payload request/responses. I don't see the soap request/response or fault logging.

        Activity

        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        I've tried to reproduce this, but the SoapEnvelopeLoggingInterceptor works fine in my tests.

        Show
        arjen.poutsma Arjen Poutsma added a comment - I've tried to reproduce this, but the SoapEnvelopeLoggingInterceptor works fine in my tests.

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            lino Lino Cibran
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: