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

Invalid xml in SoapFaultMappingExceptionResolver example, section 5.6.1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.5
    • Fix Version/s: 1.5.6
    • Component/s: Documentation
    • Labels:
      None

      Description

      Section 5.6.1 has invalid xml for its example of how to configure the exceptionMappers for SoapFaultMappingExceptionResolver:

      <beans>
          <bean id="exceptionResolver"
              class="org.springframework.ws.soap.server.endpoint.SoapFaultMappingExceptionResolver">
              <property name="defaultFault" value="SERVER">
              </property>
              <property name="exceptionMappings">
                  org.springframework.oxm.ValidationFailureException=CLIENT,Invalid request
              </property>
          </bean>
      </beans>

      Should be

      <beans>
          <bean id="exceptionResolver"
              class="org.springframework.ws.soap.server.endpoint.SoapFaultMappingExceptionResolver">
              <property name="defaultFault" value="SERVER">
              </property>
              <property name="exceptionMappings">
                <value>
                  org.springframework.oxm.ValidationFailureException=CLIENT,Invalid request
                </value>
              </property>
          </bean>
      </beans>

        Activity

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            bhendricks Brad Hendricks
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: