While the @WebService
annotation is sufficient for service enabling a Java interface or a Java class, it does
not fully describe how the service will be exposed as a service provider. The JAX-WS programming model uses a number of
optional annotations for adding details about your service, such as the binding it uses, to the Java code. You add these annotations to the service's
SEI.
![]() | Tip |
---|---|
The more details you provide in the SEI the easier it is for developers to implement applications that can use the functionality it defines. It also makes the WSDL documents generated by the tools more specific. |