1<?xml version="1.0" encoding="UTF-8" ?> 2<definitions targetNamespace="urn:test" 3 xmlns="http://schemas.xmlsoap.org/wsdl/" 4 xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 5 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 6 xmlns:test="urn:test" 7 xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 8 9 <portType name="TestPortType"> 10 <operation name="MyMethod"> 11 <input message="test:MyMethodRequestMessage" /> 12 <output message="test:MyMethodResponseMessage" /> 13 </operation> 14 </portType> 15 16 <binding name="TestBinding" type="test:TestPortType"> 17 <operation name="MyMethod"> 18 <input><soap:body use="literal" /></input> 19 <output><soap:body use="literal" /></output> 20 </operation> 21 </binding> 22 23 <message name="MyMethodRequestMessage"> 24 <part name="parameters" element="test:MyMethodRequest" /> 25 </message> 26 27 <message name="MyMethodResponseMessage"> 28 <part name="parameters" element="test:MyMethodResponse" /> 29 </message> 30 31 <types> 32 <schema targetNamespace="urn:test" xmlns="http://www.w3.org/2001/XMLSchema"> 33 34 <element name="MyMethodRequest"> 35 <complexType> 36 <sequence> 37 <element name="parameter" type="test:MyMethodRequestObject" /> 38 </sequence> 39 </complexType> 40 </element> 41 42 <element name="MyMethodResponse" /> 43 44 <complexType name="MyMethodRequestObject"> 45 <complexContent> 46 <extension base="test:DynamicData" /> 47 </complexContent> 48 </complexType> 49 50 <complexType name="DynamicData" /> 51 52 </schema> 53 </types> 54 55 <service name="TestService"> 56 <port binding="test:TestBinding" name="TestPort"> 57 <soap:address location="http://localhost:8080/test-service" /> 58 </port> 59 </service> 60 61</definitions> 62