GlassFish - Metro (User Guide)
This document describes the new features available in this release of the Metro. The main focus of this document is to describe the tools used to develop Metro 1.1 FCS web service endpoints and clients.
The documentation/samples discusses how to use JAX-WS in a non-Java EE 5 servlet container using a proprietary deployment descriptor sun-jaxws.xml and servlet com.sun.xml.ws.transport.http.servlet.WSServlet.
WSDL Web Services Description Language.
This is an XML format for describing network services as a set of endpoints operating on messages containing either document-oriented or procedure-oriented information. The operations and messages are described abstractly, and then bound to a concrete network protocol and message format to define an endpoint. Related concrete endpoints are combined into abstract endpoints (services). Regardless of what message formats or network protocols are used to communicate, however, the only bindings described in this document describe how to use WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
WSDL addresses this need by defining an XML grammar for describing network services as collections of communication endpoints capable of exchanging messages.
Example shows a single operation called GetLastTradePrice, which is deployed using the SOAP 1.1 protocol over HTTP. The request takes a ticker symbol of type string, and returns the price as a float.
No comments:
Post a Comment