targetNamespace="urn:any"
xmlns:tns="urn:any"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.w3.org/2001/XMLSchema">
<complexType name="Cat">
<sequence>
<element name="name" type="xsd:string"/>
<element name="breed" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="Fish">
<sequence>
<element name="name" type="xsd:string"/>
<element name="saltWater" type="xsd:boolean"/>
</sequence>
</complexType>
<element name="registerPet">
<complexType>
<sequence>
<element name="pet" type="xsd:anyType"/>
</sequence>
</complexType>
</element>
<element name="registerPetResponse">
<complexType>
<sequence/>
</complexType>
</element>
</schema>
</types>
<message name="registerPetRequest">
<part name="registerPetRequest" element="tns:registerPet"/>
</message>
<message name="registerPetResponse">
<part name="registerPetResponse" element="tns:registerPetResponse"/>
</message>
<portType name="Vet">
<operation name="registerPet">
<input message="tns:registerPetRequest"/>
<output message="tns:registerPetResponse"/>
</operation>
</portType>
<binding name="VetSOAP" type="tns:Vet">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="registerPet">
<soap:operation/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="VetService">
<port name="VetSOAP" binding="tns:VetSOAP">
<soap:address location="http://localhost:9080/VetService/services/Vet"/>
</port>
</service>
</definitions>
文章来源于领测软件测试网 https://www.ltesting.net/