The Jakarta XML Web Services (JAX-WS; formerly Java API for XML Web Services) is a
Jakarta EE API for creating
web services, particularly
SOAP
Soap is a salt of a fatty acid used in a variety of cleansing and lubricating products. In a domestic setting, soaps are surfactants usually used for washing, bathing, and other types of housekeeping. In industrial settings, soaps are used ...
services. JAX-WS is one of the
Java XML programming APIs.
Overview
The JAX-WS 2.2 specificatio
JSR 224defines a standard Java- to-WSDL mapping which determines how
WSDL
The Web Services Description Language (WSDL ) is an XML-based interface description language that is used for describing the functionality offered by a web service. The acronym is also used for any specific WSDL description of a web service (also ...
operations are bound to Java methods when a SOAP message invokes a WSDL operation. This Java-to-WSDL mapping determines which Java method gets invoked and how that SOAP message is mapped to the method’s parameters.
This mapping also determines how the method’s return value gets mapped to the SOAP response.
JAX-WS uses
annotation
An annotation is extra information associated with a particular point in a document or other piece of information. It can be a note that includes a comment or explanation. Annotations are sometimes presented in the margin of book pages. For anno ...
s, introduced in
Java SE 5, to simplify the development and deployment of web service clients and endpoints. It is part of the
Java Web Services Development Pack. JAX-WS can be used in
Java SE starting with version 6.
JAX-WS 2.0 replaced the
JAX-RPC API in
Java Platform, Enterprise Edition 5 which leans more towards document style Web Services.
This API provides the core of
Eclipse Metro.
JAX-WS also is one of the foundations of
WSIT
Web Services Interoperability Technology (WSIT) is an open-source project started by Sun Microsystems to develop the next-generation of Web service technologies. It provides interoperability between Java Web Services and Microsoft's Windows Commu ...
.
Standards Supported
* JAX-WS 2.0/2.1/2.2 (JSR 224)
* WS-I Basic Profile 1.2 and 2.0
* WS-I Attachments Profile 1.0
* WS-I Simple SOAP Binding Profile 1.0
* WS-Addressing 1.0 - Core, SOAP Binding, WSDL Binding
Main JWS Packages
XML Web Services related Specs
Implementations
*
Eclipse Metro in Eclipse Enterprise for Java (EE4J)
*
Apache CXF
*
Apache Axis2
*JBossWS in
WildFly
*
IBM WebSphere Jax-Ws in
WebSphere
*
Oracle Weblogic
References
External links
*
*java.net project pages
JAX-WS java.net project pageGlassFish java.net project page*Documentation
JAX-WS Javadoc*Tutorials
JAX-WS Tutorials
{{Jakarta EE
Java enterprise platform
Java API for XML
Web service specifications