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

MessageDispatcherServlet does not transform WSDL locations

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 M3
    • Fix Version/s: 1.0 RC1
    • Component/s: Core
    • Labels:
      None

      Description

      When using the MessageDispatcherServlet facade, there is no way to transform WSDL location fields, because the WsdlDefinitionHandlerAdapter is not exposed. We should make it a property of the servlet, so that it can be set in the web.xml.

        Activity

        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Fixed. You can set a transformWsdlLocations in the servlet configuration, like so:

        <servlet>
        <servlet-name>spring-ws</servlet-name>
        <servlet-class>org.springframework.ws.transport.http.MessageDispatcherServlet</servlet-class>
        <init-param>
        <!-- Transform the location attributes in WSDLs -->
        <param-name>transformWsdlLocations</param-name>
        <param-value>true</param-value>
        </init-param>
        </servlet>

        Show
        arjen.poutsma Arjen Poutsma added a comment - Fixed. You can set a transformWsdlLocations in the servlet configuration, like so: <servlet> <servlet-name>spring-ws</servlet-name> <servlet-class>org.springframework.ws.transport.http.MessageDispatcherServlet</servlet-class> <init-param> <!-- Transform the location attributes in WSDLs --> <param-name>transformWsdlLocations</param-name> <param-value>true</param-value> </init-param> </servlet>
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        This is now used in the echo sample.

        Show
        arjen.poutsma Arjen Poutsma added a comment - This is now used in the echo sample.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing RC1 issues.

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: