HOME

TheInfoList



OR:

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 serv ...
API An application programming interface (API) is a connection between computers or between computer programs. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how to build ...
for creating
web service A web service (WS) is either: * a service offered by an electronic device to another electronic device, communicating with each other via the Internet, or * a server running on a computer device, listening for requests at a particular port over a n ...
s, particularly
SOAP Soap is a salt (chemistry), salt of a fatty acid (sometimes other carboxylic acids) used for cleaning and lubricating products as well as other applications. In a domestic setting, soaps, specifically "toilet soaps", are surfactants usually u ...
services. JAX-WS is one of the
Java XML In computing, Java XML APIs were developed by Sun Microsystems, consisting separate computer programming application programming interfaces (APIs). Application programming interfaces * Java API for XML Processing (JAXP) * Java API for XML Messa ...
programming APIs.


Overview

The JAX-WS 2.2 specificatio
JSR 224
defines 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 Marginalia, in the margin of book page ...
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. As of Java SE 11, JAX-WS was removed. For details, se
JEP 320
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 serv ...
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 CXF is an open source software project developing a Web services framework. It originated as the combination of Celtix developed by IONA Technologies and XFire developed by a team hosted at the now defunct host CodeHaus in 2006. These two ...
*
Apache Axis2 Apache Axis2 is a web service engine. It is a redesign and re-write of the widely used Apache Axis SOAP stack. Implementations of Axis2 are available in Java (programming language), Java and C (programming language), C. Axis2 provides the capabi ...
*JBossWS in WildFly * IBM WebSphere Jax-Ws in WebSphere * Oracle Weblogic


References


External links

* *java.net project pages
JAX-WS java.net project page

GlassFish java.net project page
*Documentation
JAX-WS Javadoc


*Tutorials
JAX-WS Tutorials
{{Jakarta EE Java enterprise platform Java API for XML Web service specifications