1.以下是一个完整的webservices的wsdl文件. 命名为test.xml
<?xml version= "1.0 " encoding= "utf-8 "?>
<definitions xmlns:http= "http://schemas.xmlsoap.org/wsdl/http/ " xmlns:soap= "http://schemas.xmlsoap.org/wsdl/soap/ " xmlns:s= "http://www.w3.org/2001/XMLSchema " xmlns:s0= "http://tempuri.org/ " xmlns:soapenc= "http://schemas.xmlsoap.org/soap/encoding/ " xmlns:tm= "http://microsoft.com/wsdl/mime/textMatching/ " xmlns:mime= "http://schemas.xmlsoap.org/wsdl/mime/ " targetNamespace= "http://tempuri.org/ " xmlns= "http://schemas.xmlsoap.org/wsdl/ ">
<types>
<s:schema elementFormDefault= "qualified " targetNamespace= "http://tempuri.org/ ">
<s:import namespace= "http://www.w3.org/2001/XMLSchema " />
<s:element name= "GetChildOrgan ">
<s:complexType>
<s:sequence>
<s:element minOccurs= "1 " maxOccurs= "1 " name= "nNodeID " type= "s:int " />
</s:sequence>
</s:complexType>
</s:element>
<s:element name= "GetChildOrganResponse ">
<s:complexType>
<s:sequence>
<s:element minOccurs= "0 " maxOccurs= "1 " name= "GetChildOrganResult ">
<s:complexType>
<s:sequence>
<s:element ref= "s:schema " />
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</types>
<message name= "GetChildOrganSoapIn ">