-
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
-
No problem I was able to figure out this on my own