JAX-WS web service endpoint example.
1. create interface with corresponding method. [WebService, WebMethod annotation.
2. create interface implementation.
4. create endpoint and run it.
1. wsimport -s . wsdl-file create service stub.
2. create local client to invoke the stub service classes.