Jakarta XML Web Services
Other namesJava API for XML Web Services, JAX-WS
Original authorSun Microsystems
DeveloperEclipse Foundation
Stable release
2.3.3 / February 19, 2020; 6 years ago (2020-02-19)
Written inJava
Operating systemCross-platform
PlatformJava
TypeApplication framework
LicenseEPL 2.0 or GPL v2 w/Classpath exception
Websiteprojects.eclipse.org/projects/ee4j.jaxws Edit this at Wikidata
Repository

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.

Overview

edit

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

edit
  • 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

edit
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
edit
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

Jakarta Web Services Metadata

edit

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

edit

References

edit
  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".
edit

📚 Artikel Terkait di Wikipedia

Web API

typically expressed in JSON or XML by means of an HTTP-based web server. A server API (SAPI) is not considered a server-side web API, unless it is publicly accessible

Java XML

XML Web Services Jakarta XML Registries (JAXR) — formerly Java API for XML Registries Jakarta XML Web Services (JAX-WS) — formerly Java API for XML Web

Java (programming language)

for web services: the Java API for RESTful Web Services (JAX-RS 2.0) useful for AJAX, JSON and REST services, and the Java API for XML Web Services (JAX-WS)

Jakarta XML Binding

Jakarta XML Binding (JAXB; formerly Java Architecture for XML Binding) is a software framework that allows Java EE developers to map Java classes to XML representations

Jakarta RESTful Web Services

Web Services, (JAX-RS; formerly Java API for RESTful Web Services) is a Jakarta EE API specification that provides support in creating web services according

List of Java frameworks

Below is a list of notable Java programming language technologies (frameworks, libraries).

Jakarta EE

or from Java classes; Jakarta XML Binding allows mapping XML into Java objects; Jakarta XML Web Services can be used to create SOAP web services. Jakarta

Java API for XML Messaging

JAXM is one of the Java XML programming APIs The Java API for XML Messaging (JAXM) enables developers to use XML messaging using the Java platform. Developers