17.1. Describing Web Services with WSDL

The Web Services Description Language is an XML language for producing documents that describe Web Services. It is not particularly easy to read; like many XML languages, it is primarily intended for processing electronically. We won't attempt to create WSDL by hand; instead, we'll look at some tools that can do this for us.

One tool is the xrpcc utility we already used for our JAX-RPC example. At the same time that we were creating server-side artifacts for the JAX-RPC server, a WSDL document was created for us. Figure 17.1 shows graphically the components that make up a WSDL document; in our description of the document format, we'll provide specific examples from the xrpcc-generated WSDL document for ...

Get J2EE™ and JAX™: Developing Web Applications and Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.