JAX-WS annotations reference
You can use annotations with web services to configure bindings and handler chains; and to set names of portType, service, and other WSDL parameters. Annotations are used at build time to map Java™ to WSDL files and XML schema, and at run time to control how the JAX-WS runtime environment processes and responds to web service invocations.
Purpose
You can apply annotations to these Java objects:
- Types such as a class, enum, or interface
- Methods
- Fields that represent local instance variables in a class
- Parameters in a method