WSDL Archive

WSDL Service Element

The <service> element defines the ports supported by the Web service. For each of the supported protocols, there is one port element. The service element is a collection of ports. Web service clients can learn …

WSDL Ports Element

A <port> element defines an individual endpoint by specifying a single address for a binding. The port element has two attributes – the name attribute and the binding attribute. The name attribute provides a unique …

WSDL Binding Element

The <binding> element provides specific details on how a portType operation will actually be transmitted over the wire. The bindings can be made available via multiple transports, including HTTP GET, HTTP POST, or SOAP. The …

WSDL portType Element

The <portType> element combines multiple message elements to form a complete oneway or round-trip operation. For example, a <portType> can combine one request and one response message into a single request/response operation. This is most …

WSDL Message Element

The <message> element describes the data being exchanged between the Web service providers and consumers. Each Web Service has two messages: input and output. The input describes the parameters for the Web Service and the …

WSDL Definition Element

The <definition> element must be the root element of all WSDL documents. It defines the name of the web service. Here is the example piece of code from last session which uses definition element. <definitions …

Hello World Example WSDL Document

Following is the WSDL file that is provided to demonstrate a simple WSDL program. Assuming the service provides a single publicly available function, called sayHelloWorld. This function expects a single string parameter and returns a …