Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added link to JAX-WS annotations API on Sun site

...

The JAX-WS APIs include a set of annotations which allow you to build services using annotated classes. These services are based on a single class which contains a set of operations.

...

  • @WebMethod - allows you to customize the operation name, exclude the operation from inclusion in the service, etc
  • @WebParam - allows you to customize a parameter's name, namespace, direction (IN or OUT), etc
  • @WebResult - allows you to customize a parameter's name, namespace, direction (IN or OUT), etcthe return value of the web service call

Data is marshalled from XML to Java and vice versa via the JAXB data-binding.

...