Java Reference
In-Depth Information
For example, a web service can use XML and a schema to produce price lists, and com-
panies that receive the price lists and schema can have their own style sheets to handle the
data in a way that best suits their needs. Here are examples.
• One company might put XML pricing information through a program to translate
the XML to HTML so that it can post the price lists to its intranet.
• A partner company might put the XML pricing information through a tool to create
a marketing presentation.
• Another company might read the XML pricing information into an application for
processing.
SOAP Transport Protocol
Client requests and web service responses are transmitted as Simple Object Access
Protocol (SOAP) messages over HTTP to enable a completely interoperable exchange
between clients and web services, all running on different platforms and at various loca-
tions on the Internet. HTTP is a familiar request-and-response standard for sending mes-
sages over the Internet, and SOAP is an XML-based protocol that follows the HTTP
request-and-response model.
The SOAP portion of a transported message does the following:
• Defines an XML-based envelope to describe what is in the message and explain
how to process the message
• Includes XML-based encoding rules to express instances of application-defined
data types within the message
• Defines an XML-based convention for representing the request to the remote ser-
vice and the resulting response
WSDL Standard Format
The Web Services Description Language (WSDL) is a standardized XML format for de-
scribing network services. The description includes the name of the service, the location
of the service, and ways to communicate with the service. WSDL service descriptions can
be published on the Web. GlassFish Server provides a tool for generating the WSDL spe-
cification of a web service that uses remote procedure calls to communicate with clients.
Java EE Application Assembly and Deployment
A Java EE application is packaged into one or more standard units for deployment to any
Java EE platform-compliant system. Each unit contains
Search WWH ::




Custom Search