Jakarta XML Web Services

Last updated
Jakarta XML Web Services
Other namesJava API for XML Web Services, JAX-WS
Original author(s) Sun Microsystems
Developer(s) Eclipse Foundation
Stable release
2.3.3 / February 19, 2020;5 years ago (2020-02-19)
Repository
Written in Java
Operating system Cross-platform
Platform Java
Type Application framework
License EPL 2.0 or GPL v2 w/Classpath exception
Website projects.eclipse.org/projects/ee4j.jaxws OOjs UI icon edit-ltr-progressive.svg

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 services. JAX-WS is one of the Java XML programming APIs.

Contents

Overview

The JAX-WS 2.2 specification JSR 224 defines a standard Java- to-WSDL mapping which determines how WSDL 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 annotations, 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. [1] As of Java SE 11, JAX-WS was removed. For details, see JEP 320.

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.

Standards Supported

Main JWS Packages

PackageDescription
javax.xml.wsHas the Core JAX-WS APIs
javax.xml.ws.httpHas APIs specific to XML/HTTP Binding
javax.xml.ws.soapHas APIs specific to SOAP/HTTP Binding
javax.xml.ws.handlerHas APIs for message handlers
javax.xml.ws.spidefines SPIs for JAX-WS
javax.xml.ws.spi.httpProvides HTTP SPI that is used for portable deployment of JAX-WS in containers
javax.xml.ws.wsaddressingHas APIs related to WS-Addressing
javax.jwsHas APIs specific to Java to WSDL mapping annotations
javax.jws.soapHas APIs for mapping the Web Service onto the SOAP protocol
Java EE 7
SpecificationVersionStds. BodyJSR/Url
JAX-WS2.3JCP 224
Web Services1.3JCP 109
WS Metadata2.1JCP 181
JAXB 2.2JCP 222
SAAJ1.3JCP 67
SOAP1.2W3C soap
XML1.1W3C xml
WSDL1.1W3C wsdl

Jakarta Web Services Metadata

Jakarta Web Services Metadata (JWS; formerly Web Services Metadata for Java platform and Java Web Services), as a part of Jakarta XML Web Services (JAX-WS), is a Java programming language specification (JSR-181) primarily used to standardize the development of web service interfaces for the Jakarta EE platform. Version is 2.1 was released on December 15, 2009. [2]

Implementations

References

  1. Yang, Young (June 3, 2007). "JAX-WS Web Services Without Java EE Containers".
  2. "The Java Community Process(SM) Program - JSRS: Java Specification Requests - detail JSR# 181".