158 WCTME: Application Development and Case Study
Web services are based on standards to guarantee interoperability with different
platforms. The core Web services standards are:
Simple Object Access Protocol (SOAP) is an XML-based standard for the
exchange of structured information in a decentralized, distributed
environment. It is composed of three parts:
–An
envelope specifying who and how to deal with the message, and the
message itself.
– A set of encoding rules
–A
remote procedure call (RPC) representation.
SOAP runs over existing Internet infrastructure.
Web Services Description Language (WSDL) is an XML-based open
specification that describes Web services interfaces over the network. It
provides a simple way to service providers to describe the format of the
requests for the services their offer, regardless of their implementation.
Service providers can specify the following Web services characteristics
using WSDL:
– Name and address information
– How to access the Web services operations (protocol and encoding style)
– Type of information (operations, parameters and data types that conform
the Web Service interface)
WSDL documents allow you to expose applications as network-accessible
services on the Internet.
Universal, Description, Discovery and Integration (UDDI) is an open,
platform-independent standard that allow to publish and discover information
about Web Services over the Internet.
Web Services Inspection Language (WSIL) is an XML-based specification that
describes the way to locate available Web Services descriptions on a Web
site. The WSIL specification complements UDDI facilitating the discovery of
services that are available on Web sites that may not be listed yet in a UDDI
registry.
XML is the foundation standard of Web services.
The Java standards and APIs that are relevant to Web Services are:
JSR 101 - Java APIs for XML based RPC (JAX-RPC)
JSR 109 - Implementing Enterprise Web Services
JSR 31 - XML Data Binding Specification (JAXB)
JSR 67 - Java APIs for XML Messaging 1.0 (JAXM)
JSR 93 - Java API for XML Registries 1.0 (JAXR)