WAS v8.5 > WebSphere applications > Web services > Web services

JAX-WS

JAX-WS extends JAX-RPC with support for annotations.

JAX-WS is a programming model that simplifies application development through support of a standard, annotation-based model to develop web service applications and clients. The JAX-WS technology strategically aligns itself with the current industry trend towards a more document-centric messaging model and replaces the remote procedure call programming model as defined by JAX-RPC. While the JAX-RPC programming model and applications are still supported by this product, JAX-RPC has limitations and does not support various complex document-centric services. JAX-WS is the strategic programming model for developing web services and is a required part of the Java Platform, Enterprise Edition 6 (Java EE 6). JAX-WS is also known as JSR 224.

v8.0 supports the JAX-WS v2.2 and Web Services for Java EE (JSR 109) v1.3 specifications.

The JAX-WS 2.2 specification supersedes and includes functions within the JAX-WS 2.1 specification. JAX-WS 2.2 adds client-side support for using WebServiceFeature-related annotations such as @MTOM, @Addressing, and the @RespectBinding annotations. JAX-WS 2.1 had previously added support for these annotations on the server. There is also now the ability to enable and configure WS-Addressing support on a client or service by adding WS-Policy assertions into the WSDL document. In addition, the Web Services for Java EE 1.3 specification introduces support for these WebServiceFeature-related annotations, as well as support for using deployment descriptor elements to configure these features on both the client and server. JAX-WS 2.2 requires JAXB v2.2 for data binding.

The implementation of the JAX-WS programming standard provides the following enhancements for developing web services and clients:


Subtopics


Related concepts:

JAXB
Message Transmission Optimization Mechanism
Web Services for Java EE specification


Related


Enable MTOM for JAX-WS web services
Enforcing adherence to WSDL bindings in JAX-WS web services
Enable Web Services Addressing support for JAX-WS applications using addressing features
Example: Installing a web services sample with the console


Reference:

wsimport command for JAX-WS applications
wsgen command for JAX-WS applications
Web services specifications and APIs


Related information:

JAX-WS API documentation

JAX-WS API User's Guide documentation

A Metadata Facility for the Java Programming Language (JSR 175)

Web Services Metadata for the Java Platform (JSR 181)


+

Search Tips   |   Advanced Search