|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 3 | + xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" |
| 4 | + xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" |
| 5 | + xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 6 | + xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" |
| 7 | + xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" |
| 8 | + targetNamespace="http://example.com/example/" |
| 9 | + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" |
| 10 | + xmlns:example="http://example.com/example/"> |
| 11 | + <wsdl:types> |
| 12 | + <xsd:schema elementFormDefault="qualified" targetNamespace="http://example.com/example/"> |
| 13 | + <xsd:element name="test"> |
| 14 | + <xsd:complexType> |
| 15 | + <xsd:sequence> |
| 16 | + <xsd:element name="test" type="xsd:unsignedInt" default="30000"/> |
| 17 | + </xsd:sequence> |
| 18 | + </xsd:complexType> |
| 19 | + </xsd:element> |
| 20 | + |
| 21 | + <xsd:element name="testResponse"> |
| 22 | + <xsd:complexType> |
| 23 | + <xsd:sequence> |
| 24 | + <xsd:element name="response" type="xsd:boolean" default="false" /> |
| 25 | + </xsd:sequence> |
| 26 | + </xsd:complexType> |
| 27 | + </xsd:element> |
| 28 | + </xsd:schema> |
| 29 | + </wsdl:types> |
| 30 | + |
| 31 | + <wsdl:message name="testIn"> |
| 32 | + <wsdl:part name="parameters" element="example:test" /> |
| 33 | + </wsdl:message> |
| 34 | + <wsdl:message name="testOut"> |
| 35 | + <wsdl:part name="parameters" element="example:testResponse" /> |
| 36 | + </wsdl:message> |
| 37 | + |
| 38 | + <wsdl:portType name="ExampleSoap"> |
| 39 | + <wsdl:operation name="testRequestResponse"> |
| 40 | + <wsdl:input message="example:testIn" /> |
| 41 | + <wsdl:output message="example:testOut" /> |
| 42 | + </wsdl:operation> |
| 43 | + <wsdl:operation name="testOneWay"> |
| 44 | + <wsdl:input message="example:testIn" /> |
| 45 | + </wsdl:operation> |
| 46 | + </wsdl:portType> |
| 47 | + |
| 48 | + <wsdl:binding name="ExampleSoap" type="example:ExampleSoap"> |
| 49 | + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> |
| 50 | + <wsdl:operation name="testRequestResponse"> |
| 51 | + <soap12:operation soapAction="http://example.com/example/testrequestresponse" style="document" /> |
| 52 | + <wsdl:input> |
| 53 | + <soap12:body use="literal" /> |
| 54 | + </wsdl:input> |
| 55 | + <wsdl:output> |
| 56 | + <soap12:body use="literal" /> |
| 57 | + </wsdl:output> |
| 58 | + </wsdl:operation> |
| 59 | + <wsdl:operation name="testOneWay"> |
| 60 | + <soap12:operation soapAction="http://example.com/example/testoneway" style="document" /> |
| 61 | + <wsdl:input> |
| 62 | + <soap12:body use="literal" /> |
| 63 | + </wsdl:input> |
| 64 | + </wsdl:operation> |
| 65 | + </wsdl:binding> |
| 66 | + |
| 67 | + <wsdl:service name="Example"> |
| 68 | + <wsdl:port name="ExampleSoap" binding="example:ExampleSoap"> |
| 69 | + <soap12:address location="http://localhost/test" /> |
| 70 | + </wsdl:port> |
| 71 | + </wsdl:service> |
| 72 | +</wsdl:definitions> |
0 commit comments