Results 1 to 4 of 4

Thread: Writing a contract first web service with SimpleWsdl11Definition

  1. #1
    Join Date
    Aug 2007
    Posts
    14

    Default 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. #2
    Join Date
    Sep 2004
    Posts
    127

    Default

    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

  3. #3
    Join Date
    Aug 2007
    Posts
    14

    Default

    Thanks.

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

  4. #4
    Join Date
    Sep 2004
    Posts
    127

    Default

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

Posting Permissions

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