Java API for XML Web Services
   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 way for two or more computer programs to communicate with each other. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how ...
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 use ...
services. JAX-WS is one of the
Java XML {{unreferenced, article, date=April 2008 The Java programming language XML APIs developed by Sun Microsystems consist of the following separate computer-programming APIs: * Java API for XML Processing, or JAXP * Java API for XML Messaging, or ...
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 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 The Java Web Services Development Pack (JWSDP) is a free software development kit (SDK) for developing Web Services, Web applications and Java applications with the newest technologies for Java. Oracle replaced JWSDP with GlassFish. All component ...
. 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 Ja ...
starting with version 6. JAX-WS 2.0 replaced the
JAX-RPC Jakarta XML RPC (JAX-RPC; formerly Java API for XML Based RPC) allows a Jakarta EE application to invoke a Java-based web service with a known description while still being consistent with its Web Services Description Language, WSDL description. JA ...
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 ser ...
5 which leans more towards document style Web Services. This API provides the core of
Eclipse Metro Metro is a high-performance, extensible, easy-to-use web service stack. Although historically an open-source part of the GlassFish application server, it can also be used in a stand-alone configuration. Components of Metro include: JAXB RI, JAX ...
. 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 Metro is a high-performance, extensible, easy-to-use web service stack. Although historically an open-source part of the GlassFish application server, it can also be used in a stand-alone configuration. Components of Metro include: JAXB RI, JAX ...
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 Codehaus in 2006. These two projects were combin ...
*
Apache Axis2 Apache Axis2 is a web service engine. It is a complete redesign and re-write of the widely used Apache Axis SOAP stack. Implementations of Axis2 are available in Java and C. Axis2 provides the capability to add Web services interfaces to Web ...
*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 Oracle WebLogic Server is a Java EE application server currently developed by Oracle Corporation. Oracle acquired WebLogic Server when it purchased BEA Systems in 2008. Application Server versions * WebLogic Server 14c (14.1.1) - March 30, 2020 ...


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