web.xml
No entires required
In this case the end point has to extend SpringBeanAutowiringSupport
public class SayHelloServiceEndpoint extends SpringBeanAutowiringSupport {
@Autowired
private SayHelloService SayHelloService;
@WebMethod
public String sayHello() {
return SayHelloService.sayHello();
}
}
Service endpoint -
http://localhost:8080/
WSDL -
http://localhost:8080/
jax-ws - jdk 1.6 bundled in your web app
End Point class
@Service("
@WebService(serviceName="
public class SayHelloServiceEndpoint {
@Autowired
private SayHelloService SayHelloService;
@WebMethod
public String sayHello() {
return SayHelloService.sayHello();
}
}
spring app context
web.xml
no specific entires required
Service URL -
http://localhost:9999/
WSDL -
1 comment:
Thanks man, this advice got my service working when every anything else out there on the web did not help
Post a Comment