The Jakarta XML Web Services (JAX-WS; formerly Java API for XML Web Services) is a
Jakarta EE
Jakarta EE, formerly Java Platform, Enterprise Edition (Java EE) and Java 2 Platform, Enterprise Edition (J2EE), is a set of specifications, extending Java SE with specifications for enterprise features such as distributed computing and web se ...
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
Java Platform, Standard Edition (Java SE) is a computing platform for development and deployment of portable code for desktop and server environments. Java SE was formerly known as Java 2 Platform, Standard Edition (J2SE).
The platform uses J ...
starting with version 6.
JAX-WS 2.0 replaced the
JAX-RPC API in
Java Platform, Enterprise Edition
Jakarta EE, formerly Java Platform, Enterprise Edition (Java EE) and Java 2 Platform, Enterprise Edition (J2EE), is a set of specifications, extending Java SE with specifications for enterprise features such as distributed computing and web se ...
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.
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
WildFly, formerly known as JBoss AS, or simply JBoss, is an application server written by JBoss, now developed by Red Hat. WildFly is written in Java and implements the Java Platform, Enterprise Edition (Java EE) specification. It runs on mul ...
*
IBM WebSphere Jax-Ws in
WebSphere
IBM WebSphere refers to a brand of proprietary computer software products in the genre of enterprise software known as "application and integration middleware". These software products are used by end-users to create and integrate applications w ...
*
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