Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: load context in webservice

  1. #11
    Join Date
    Apr 2012
    Posts
    27

    Default

    Quote Originally Posted by Gary Russell View Post
    So, just follow the instructions on how to publish the WSDL that Mark posted in post #4 above. You just need to add a bean to the servlet context with a reference to your schema.

    There's more detail further down in the reference that Mark suggested you read: http://static.springsource.org/sprin...-wsdl-exposure

    U mean instead of this <servlet-class> org.springframework.ws.tranport.MessageDispatchSer vvlet</servlet-class>
    ,have the class that i want to call?

  2. #12
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,036

    Default

    No; I mean follow the instructions and add a

    Code:
    <sws:dynamic-wsdl id="orders"
        portTypeName="Orders"
        locationUri="http://localhost:8080/ordersService/">
      <sws:xsd location="/WEB-INF/xsd/Orders.xsd"/>
    </sws:dynamic-wsdl>
    or preferably a
    Code:
    <sws:static-wsdl id="orders" location="/WEB-INF/wsdl/orders.wsdl"/>
    to the dispatcher servlet's application context.
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

Posting Permissions

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