<div dir="ltr" style="text-align: justify;" trbidi="on"><b>Java API for XML Web Services (JAX-WS)</b> is a technology for building <b>web services and clients</b> that communicate using <b>XML</b>. <b>JAX-WS</b> allows developers to write message-oriented as well as <b>Remote Procedure Call-oriented (RPC-oriented) </b>web services.</p>
<div class="separator" style="clear: both; text-align: center;"><img border="0" src="http://50.87.249.200/~dineshon/wp-content/uploads/2013/06/jax-ws-tutorials.gif"></div>
<p>
In <b>JAX-WS</b>, a web service operation invocation is represented by an<b> XML-based protocol</b>, such as <b><a href="https://dineshonjava.com/2013/05/what-is-soap.html" target="_blank">SOAP</a></b>. The <b><a href="https://dineshonjava.com/2013/05/what-is-soap.html" target="_blank">SOAP </a></b>specification defines the <b><a href="https://dineshonjava.com/2013/05/soap-envelope-element.html" target="_blank">envelope structure</a></b>,<b><a href="https://dineshonjava.com/2013/05/soap-encoding.html" target="_blank"> encoding rules</a></b>, and conventions for representing web service invocations and responses. These calls and responses are transmitted as <b><a href="https://dineshonjava.com/2013/05/soap-message-structure.html" target="_blank">SOAP messages (XML files) over HTTP</a></b>.</p>
<div align='center' id="ads-id"></div>
<p> Although<b><a href="https://dineshonjava.com/2013/05/soap-message-structure.html" target="_blank"> SOAP messages</a></b> are complex, the<b> JAX-WS API</b> hides this complexity from the application developer. On the server side, the developer specifies the web service operations by defining methods in an interface written in the Java programming language. The developer also codes one or more classes that implement those methods. Client programs are also easy to code. A client creates a proxy (a local object representing the service) and then simply invokes methods on the proxy. With <b>JAX-WS</b>, the developer does not generate or parse <b><a href="https://dineshonjava.com/2013/05/soap-message-structure.html" target="_blank">SOAP messages</a></b>. It is the <b>JAX-WS</b> runtime system that converts the API calls and responses to and from <b><a href="https://dineshonjava.com/2013/05/soap-message-structure.html" target="_blank">SOAP messages</a></b>.</p>
<p> With <b>JAX-WS</b>, <b>clients and web services have a big advantage: </b>the platform independence of the Java programming language.<b><i> In addition, JAX-WS is not restrictive: A JAX-WS client can access a web service that is not running on the Java platform, and vice versa.</i></b> This flexibility is possible because <b>JAX-WS</b> uses technologies defined by the W3C: <b>HTTP</b>, <b>SOAP</b>, and <b><a href="https://dineshonjava.com/2013/05/introduction-to-wsdl.html" target="_blank">WSDL</a></b>. <b><a href="https://dineshonjava.com/2013/05/introduction-to-wsdl.html" target="_blank">WSDL </a></b>specifies an XML format for describing a service as a set of endpoints operating on messages.</p>
<ol>
<li><b><a class="GIL3GQOBOB" href="https://dineshonjava.com/2013/06/jax-ws-hello-world-example.html" target="_blank">JAX-WS Hello World Example</a> </b></li>
<li><b><a href="https://dineshonjava.com/2013/05/creating-simple-web-service-and-clients.html" target="_blank">JAX-WS webservice deployment on tomcat</a></b></li>
<li><b><a href="https://dineshonjava.com/2013/06/jax-ws-web-service-example-using.html" target="_blank">JAX-WS Web Service Example Using Eclipse(STS)</a> ;</b></li>
<li><b><a href="https://dineshonjava.com/2013/06/filenotfoundexception-in-eclipse-when.html" target="_blank">FileNotFoundException in Eclipse when creating a w&#8230;</a></b></li>
<li><b><a class="GIL3GQOBOB" href="https://dineshonjava.com/2013/06/types-supported-by-jax-ws.html" target="_blank">Types Supported by JAX-WS</a> ; </b></li>
</ol>
<p><i><b>References</b></i><br />
1. <i><b><a href="http://en.wikipedia.org/wiki/Web_service" target="_blank">Wikipedia for Web Service</a></b></i></p>
<p> ; </p>
<div style="background-color: pink; border-width: thin; text-align: center;"><b><;<;<a href="https://dineshonjava.com/2013/06/types-of-web-services.html">Previous</a> <;<; ; ; || <a href="https://dineshonjava.com/2013/01/core-java-baby-step-to-be-best-java-ian.html">Index </a>||  ; >;>;<a href="https://dineshonjava.com/2013/06/jax-ws-web-service-tutorial.html">Next</a> >;>;</b></div>
</div>
<div class="wp-post-navigation"> 
									 <div class="wp-post-navigation-pre"> 
									 <a href="https://dineshonjava.com/types-of-web-services/">Previous</a> 
									 </div> 
									 <div class="wp-post-navigation-next"> 
									 <a href="https://dineshonjava.com/jax-ws-web-service-example-using/">Next</a> 
									 </div> 
									</div>
<script type="text/javascript">
jQuery(document).ready(function($) {
 $.post('https://dineshonjava.com/wp-admin/admin-ajax.php', {action: 'mts_view_count', id: '437'});
});
</script>
Strategy Design Patterns We can easily create a strategy design pattern using lambda. To implement…
Decorator Pattern A decorator pattern allows a user to add new functionality to an existing…
Delegating pattern In software engineering, the delegation pattern is an object-oriented design pattern that allows…
Technology has emerged a lot in the last decade, and now we have artificial intelligence;…
Managing a database is becoming increasingly complex now due to the vast amount of data…
Overview In this article, we will explore Spring Scheduler how we could use it by…