1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
<?xml version="1.0" encoding="utf-8"?>
<definitions targetNamespace="urn:com.example:echo"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="urn:com.example:echo"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<xsd:schema targetNamespace="urn:com.example:echo"
elementFormDefault="qualified">
<xsd:complexType name="TestType">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="echoRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="sampleElement"
minOccurs="0" maxOccurs="1" type="xsd:float" />
</xsd:sequence>
<xsd:attribute name="sampleAttr" type="xsd:int" />
</xsd:complexType>
</xsd:element>
<xsd:element name="echoResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="sampleMultiValue"
minOccurs="0" maxOccurs="unbounded" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<message name="echoIn">
<part name="parameters" element="tns:echoRequest" />
</message>
<message name="echoOut">
<part name="parameters" element="tns:echoResponse" />
</message>
<portType name="echoPortType">
<operation name="echo">
<input message="tns:echoIn" />
<output message="tns:echoOut" />
</operation>
</portType>
<binding name="echoBinding" type="tns:echoPortType">
<soap:binding
transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
<operation name="echo">
<soap:operation soapAction="urn:com.example:echo" style="document" />
<input><soap:body use="literal" /></input>
<output><soap:body use="literal" /></output>
</operation>
</binding>
<service name="echoService">
<port name="echoService" binding="tns:echoBinding">
<soap:address location='http://localhost:8080/' />
</port>
</service>
</definitions>
|