Announcement Announcement Module
Collapse
No announcement yet.
Writing a contract first web service with SimpleWsdl11Definition Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Writing a contract first web service with SimpleWsdl11Definition

    Hello,

    I have written my WSDL file (Orders.wsdl), and I want to write a spring bean which implements the web service (endpoint).

    I have read in the "5.3.1.1. Automatic WSDL exposure" chapter of the documentation (http://static.springframework.org/sp...r.html#d0e1952):

    Code:
    <bean id="orders" class="org.springframework.ws.wsdl.wsdl11.SimpleWsdl11Definition">
        <constructor-arg value="/WEB-INF/wsdl/Orders.wsdl"/>
    </bean>
    So I have declared the bean spring named "orders", and I can access to the wsdl file (http://localhost:8080/spring-ws/orders.wsdl) but where is the implementation of the service ?

    How do I declare my bean spring of the implementation ?
    Do you have an example ?

    I think that the tutorial is incomplete.

    Thanks.

  • #2
    where is the implementation of the service?
    There is none, unless you provide one. Spring-WS does not generate an implementation for you.

    How do I declare my bean spring of the implementation?
    You create an endpoint and then setup routing using an endpoint mapping.

    HTH, Dan

    Comment


    • #3
      Thanks.

      Do you have an example for "setup routing using an endpoint mapping" ?

      Comment


      • #4
        The reference manual has quite a few at
        http://static.springframework.org/sp...dpoint-mapping

        Comment

        Working...
        X