| <?xml version="1.0"?> |
| <definitions name="Echo" |
| targetNamespace="urn:echo" |
| xmlns:tns="urn:echo" |
| xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| |
| <types> |
| <schema targetNamespace="urn:echo" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <element name="ComplexTypeWithAttribute"> |
| <complexType> |
| <attribute name="attr" type="string" use="required"/> |
| </complexType> |
| </element> |
| </schema> |
| </types> |
| |
| <message name="Echo"> |
| <part name="body" element="tns:ComplexTypeWithAttribute"/> |
| </message> |
| |
| <portType name="EchoPortType"> |
| <operation name="Echo"> |
| <input message="tns:Echo"/> |
| <output message="tns:Echo"/> |
| </operation> |
| </portType> |
| |
| <binding name="EchoSoapBinding" type="tns:EchoPortType"> |
| <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> |
| <operation name="Echo"> |
| <soap:operation soapAction="urn:echo:Echo"/> |
| <input> |
| <soap:body use="literal"/> |
| </input> |
| <output> |
| <soap:body use="literal"/> |
| </output> |
| </operation> |
| </binding> |
| |
| <service name="EchoService"> |
| <port name="EchoPort" binding="tns:EchoSoapBinding"> |
| <soap:address location="REPLACE_WITH_ACTUAL_URL"/> |
| </port> |
| </service> |
| </definitions> |