Results 1 to 2 of 2

Thread: How to override WsdlDefinitionHandlerAdapter

  1. #1

    Lightbulb How to override WsdlDefinitionHandlerAdapter

    I'm subclassing WsdlDefinitionHandlerAdapter and put it in spring-ws-servlet definition:
    Code:
    <bean id="wsdlDefinitionHandlerAdapter" class="my.package.CustomWsdlDefinitionHandlerAdapter">
      <property name="transformLocations" value="true"/>
      <property name="customProperty" value="xxx"/>
    </bean>
    also i've configured MessageDispatcherServlet in web.xml with:
    Code:
    <init-param>
      <param-name>transformWsdlLocations</param-name>
      <param-value>true</param-value>
    </init-param>
    In the log a can see that adapter is in use:
    Code:
    2007-08-24 13:35:53,165 DEBUG [org.springframework.ws.transport.http.WsdlDefinitionHandlerAdapter] - Transforming [http://localhost:8080/invito/ws/] to [http://10.1.1.137
    :8080/invito/ws/]
    The problem that it is not my custom class.

    How to configure servlet to work with my CustomWsdlDefinitionHandlerAdapter, an not with the WsdlDefinitionHandlerAdapter?

  2. #2
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •