- See soapserver/soapclient project.
- See soapserver-stub project.
- Interface of stub is generated by wsimport command with the WSDL provided by soapserver project.
- stub implementation is just here.
@WebService(
endpointInterface="com.example.app.soapserver.endpoint.sample.SampleServiceEndpoint",
wsdlLocation="/META-INF/wsdl/SampleService.wsdl"
)
public class SampleServiceEndpointStub implements SampleServiceEndpoint {
public ResponseMessage execute(RequestMessage arg0) {
// begin dummy code
// end dummy code
}
}
- soapclient can access soapserver-stub as same as soapserver.
- References
- http://java.boot.by/ocewsd6-guide/ch08.html
- https://www.java.net/node/664889
- http://docs.oracle.com/javase/7/docs/api/javax/jws/WebService.html