Java API for XML Web Services

Java API for XML Web Services (JAX-WS)Developer(s)| Oracle Corporation (initial code from Sun Microsystems)

|

Stable release|

2.3.0 / August 3, 2017 (2017-08-03)

Written in| Java
Operating system| Cross-platform
Platform| Java Virtual Machine
Type| Application framework
License| CDDL v1.1 and GPL v2
Website| javaee.github.io/metro-jax-ws/

The Java API for XML Web Services (JAX-WS) is a Java programming language API for creating web services, particularly SOAP services. JAX-WS is one of the Java XML programming APIs. It is part of the Java EE platform.

## Contents

* 1 Overview
* 2 Standards Supported
* 3 Main JWS Packages
* 4 XML Web Services related Specs
* 5 Implementations
* 6 References
* 7 External links

## 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] 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 Project Metro, inside the GlassFish open-source Application Server community of Oracle Corporation.

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

Package | Description

|

javax.xml.ws | Has the Core JAX-WS APIs
javax.xml.ws.http | Has APIs specific to XML/HTTP Binding
javax.xml.ws.soap | Has APIs specific to SOAP/HTTP Binding
javax.xml.ws.handler | Has APIs for message handlers
javax.xml.ws.spi | defines SPIs for JAX-WS
javax.xml.ws.spi.http | Provides HTTP SPI that is used for portable deployment of JAX-WS in containers
javax.xml.ws.wsaddressing | Has APIs related to WS-Addressing
javax.jws | Has APIs specific to Java to WSDL mapping annotations
javax.jws.soap | Has APIs for mapping the Web Service onto the SOAP protocol

## XML Web Services related Specs

Java EE 7

Specification | Version | Stds. Body | JSR/Url
JAX-WS | 2.3  | JCP  | 224
Web Services | 1.3  | JCP  | 109
WS Metadata | 2.1  | JCP  | 181
JAXB | 2.2  | JCP  | 222
SAAJ | 1.3  | JCP  | 67
SOAP | 1.2  | W3C  | soap
XML | 1.1  | W3C  | xml
WSDL | 1.1  | W3C  | wsdl

## Implementations

* Metro Project in GlassFish
* Apache CXF
* Apache Axis2
* JBossWS in WildFly
* IBM WebSphere Jax-Ws in WebSphere
* Oracle Weblogic

## References

1. ↑ Yang, Young (June 3, 2007). "JAX-WS Web Services Without Java EE Containers". https://community.oracle.com/docs/DOC-983165.

## External links

* java.net project pages
* JAX-WS java.net project page
* GlassFish java.net project page
* Documentation
* JAX-WS Javadoc
* JAX-WS in the Java EE 5 Tutorial
* Tutorials
* JAX-WS Tutorials

* v
* t
* e

Java EE 7 specifications

Web app|

* Servlet
* JavaServer Pages
* Expression Language
* JSTL
* JavaServer Faces
* WebSocket

Enterprise app|

* Dependency injection
* Bean Validation
* Enterprise JavaBeans
* JPA
* JMS
* JTA
* JavaMail
* JCA
* Common Annotations

Web services|

* JAX-RS
* JAX-WS
* Web Services Metadata
* Java API for XML Messaging
* JAXR

APM|

* J2EE Management

Related|

* JAXB
* JAXP
* JDBC
* JMX
* JavaBeans Activation Framework
* Streaming API for XML

0.00

(0 votes)

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Java_API_for_XML_Web_Services&oldid=788700"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template