Escolar Documentos
Profissional Documentos
Cultura Documentos
Web Services
Description
Language
Reporters:
Yolly Templado
Regilyn Gafate
Stephanie Intes
Ronnalyn Labto
Janie Saballa
Jerald Electores
Rannie Diaz
WSDL
WSDL stands for Web Services Description
Language
WSDL is used to describe web services
WSDL is written in XML
WSDL is a W3C recommendation from 26. June
2007
Abstract
WSDL 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). WSDL is extensible to allow
description of endpoints and their messages 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.
A WSDL document definesservicesas collections of
network endpoints, orports. In WSDL, the abstract
definition of endpoints and messages is separated from
their concrete network deployment or data format
bindings. This allows the reuse of abstract
definitions:messages, which are abstract descriptions
of the data being exchanged, andport typeswhich are
abstract collections ofoperations. The concrete
protocol and data format specifications for a particular
port type constitutes a reusablebinding. A port is
defined by associating a network address with a
reusable binding, and a collection of ports define a
service
WSDL document uses the following elements in
the definition of network services:
The port type name attribute provides a unique name among all
port types defined within in the enclosing WSDL document.
An operation is named via the name attribute.
The <portType> Element
Type Definition
One-way The operation can receive a message
but will not return a response
Request-response The operation can receive a request
and will return a response
Solicit-response The operation can send a request and
will wait for a response
Notification The operation can send a message but
will not wait for a response
5. Binding a concrete protocol
and data format specification for a
particular port type. <wsdl:definitions .... >
A binding defines message <wsdl:binding name="nmtoken"
type="qname"> *
format and protocol details for <-- extensibility element (1) --> *
operations and messages defined
by a particular portType. There <wsdl:operation
may be any number of bindings name="nmtoken"> *
<-- extensibility element (2)
for a given portType. --> *
Binding extensibility elements <wsdl:input
are used to specify the concrete name="nmtoken"? > ?
<-- extensibility element
grammar for the input (3), output (3) -->
(4), and fault messages (5). Per- </wsdl:input>
operation binding information (2) <wsdl:output name="nmtoken"?
as well as per-binding information >?
<-- extensibility element (4) -->
(1) may also be specified. * </wsdl:output>
<wsdl:fault name="nmtoken"> *
6. Port a single endpoint defined as a
combination of a binding and a network address.
<wsdl:definitions .... >
<wsdl:service .... > *
<wsdl:port name="nmtoken" binding="qname"> *
<-- extensibility element (1) -->
</wsdl:port>
</wsdl:service>
</wsdl:definitions>