Developing Web Services with Java APIs for XML Using WSDP

Web Services Description Language (WSDL) is a part of UDDI s initiative to provide business directories and service descriptions for online services. Akin to XML grammar for Web services, WDSL is a specification frequently used to describe networked XML-based services, allowing service providers to describe the basic format of requests that can be sent to their systems irrespective of the protocol (such as SOAP) or encoding (such as Multipurpose Internet Messaging Extensions) being used. In this section, we discuss the structure of a WSDL document and create an example document.
In essence, WSDL defines a standardized format for data exchange to facilitate e-business. Structurally, a WSDL document has a < definitions> element as the root, like that shown next:
<-- put definitions here -->
The < definitions> element defines the name of the Web service. It also declares multiple namespaces used in other elements in the document. The < definitions> element contains a set of related services. WSDL defines these services using the following six main elements:
Types The < types> element specifies the low-level data types used for the procedure contents or the messages being transmitted between the client and the server. W3C XML Schema specification is WSDL s default choice for the type-system. Thus, if a service uses only the simple built-in type of the XML schema (strings, integers, and so on), the < types> element is not required. The format for the < types> element...