Chapter 24. Bottom-Up Service Development
24.1. Introduction to JAX-WS Service Development
- Create a Service Endpoint Interface (SEI) that defines the methods you want to expose as a service.NoteYou can work directly from a Java class, but working from an interface is the recommended approach. Interfaces are better suited for sharing with the developers who are responsible for developing the applications consuming your service. The interface is smaller and does not provide any of the service's implementation details.
- Add the required annotations to your code.
- Generate the WSDL contract for your service.NoteIf you intend to use the SEI as the service's contract, it is not necessary to generate a WSDL contract.
- Publish the service as a service provider.