Let's take a look at the WSDL file to see its structure and how it works. Note that this is a very simple WSDL document instance. Our intention is only to illustrate its most significant characteristics. The following content includes more detailed discussions.
<? Xml version = "1.0" encoding = "UTF-8"?>
<Definitions name = "FooSample"
TargetNamespace = "http://tempuri.org/wsdl"
Xmlns: wsdlns = "http://tempuri.org/wsdl"
Xmlns: typens = "http://tempuri.org/xsd"
Xmlns: xsd = "http://www.w3.org/2001/XMLSchema"
Xmlns: soap = "http://schemas.xmlsoap.org/wsdl/soap"
Xmlns: stk = "http://schemas.microsoft.com/soap-toolkit/wsdl-extension"
Xmlns = "http://schemas.xmlsoap.org/wsdl/">
<Types>
<Schema targetNamespace = "http://tempuri.org/xsd"
Xmlns = "http://www.w3.org/2001/XMLSchema"
Xmlns: SOAP-ENC = "http://schemas.xmlsoap.org/soap/encoding"
Xmlns: wsdl = "http://schemas.xmlsoap.org/wsdl"
ElementFormDefault = "qualified">
</Schema>
</Types>
<Message name = "Simple. foo">
<Part name = "arg" type = "xsd: int"/>
</Message>
<Message name = "Simple. fooResponse">
<Part name = "result" type = "xsd: int"/>
</Message>
<PortType name = "SimplePortType">
<Operation name = "foo" parameterOrder = "arg">
<Input message = "wsdlns: Simple. foo"/>
<Output message = "wsdlns: Simple. fooResponse"/>