The WSDL document for the Web Services looks as follows:
<?xml version="1.0" encoding="utf-8" ?>
<definitions xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:s0="http://tempuri.org/" targetNamespace="http://tempuri.org/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<s:schema attributeFormDefault="qualified"
elementFormDefault="qualified"
targetNamespace="http://tempuri.org/">
<s:element name="GetFlightStatus">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1"
name="nFlightNo" type="s:int" />
<s:element minOccurs="1" maxOccurs="1"
name="nDayOffset" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetFlightStatusResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1"
name="GetFlightStatusResult"
nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="string" nillable="true" type="s:string" />
</s:schema>
</types>
<message name="GetFlightStatusSoapIn">
<part name="parameters" element="s0:GetFlightStatus" />
</message>
Fig 1: WSDL document for the Scandinavian Flight Status Web Service (shown partially).
Now let us take a look at the WSDL document in detail to understand the “Web Service Contract”!