Results 1 to 2 of 2

Thread: No data found, help

  1. #1
    Join Date
    Sep 2012
    Posts
    8

    Default No data found, help

    Hi,

    I am using Spring WS 2.0 and have a static WSDL that I need to support
    I am able to get the WSDL visible on my localhost, both in the browser and in SOAP UI
    There is only 1 operation in the WSDL and when I call it I get 404 No data found

    The operation name in the WSDL is called Register

    The input message is called Register_Input

    How does it map to the Endpoint and the method below when I call the Register operation in SOAP UI ?
    I have checked the example on SpringWS site
    spring-ws-servlet.xml:

    Code:
    <context:component-scan base-package="com.nokia.XXX.controller"/>
      <sws:annotation-driven/>
        <sws:static-wsdl id="XXX" location="/WEB-INF/wsdl/XXX.WSDL"/>
    The org.springframework.ws.transport.http.MessageDispa tcherServlet is also setup correctly in web.xml

    Code:
    @Endpoint
    public class ConsumerSoapController {
    
        @PayloadRoot(localPart = "Register_Input")
        @ResponsePayload
        public String handleRegistration(@RequestPayload Register_Input request) throws Exception {
            return "Hello";
        }
    }
    Thanks, JaniR

  2. #2
    Join Date
    Sep 2012
    Posts
    8

    Default

    No problem I was able to figure out this on my own

Posting Permissions

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