|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<wsdl:definitions |
| 3 | + name="TestService" |
| 4 | + targetNamespace="urn:TestService" |
| 5 | + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" |
| 6 | + xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 7 | + xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 8 | + xmlns:tns="urn:TestService" |
| 9 | + xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> |
| 10 | + |
| 11 | + <wsdl:types> |
| 12 | + <xsd:schema targetNamespace="urn:TestService"> |
| 13 | + <xsd:element name="helloIn"> |
| 14 | + <xsd:complexType> |
| 15 | + <xsd:sequence> |
| 16 | + <xsd:element name="name" type="xsd:string" /> |
| 17 | + </xsd:sequence> |
| 18 | + </xsd:complexType> |
| 19 | + </xsd:element> |
| 20 | + <xsd:element name="helloOut"> |
| 21 | + <xsd:complexType> |
| 22 | + <xsd:sequence> |
| 23 | + <xsd:element name="message" type="xsd:string" /> |
| 24 | + </xsd:sequence> |
| 25 | + </xsd:complexType> |
| 26 | + </xsd:element> |
| 27 | + <xsd:element name="goodbyeIn"> |
| 28 | + <xsd:complexType> |
| 29 | + <xsd:sequence> |
| 30 | + <xsd:element name="name" type="xsd:string" /> |
| 31 | + </xsd:sequence> |
| 32 | + </xsd:complexType> |
| 33 | + </xsd:element> |
| 34 | + <xsd:element name="goodbyeOut"> |
| 35 | + <xsd:complexType> |
| 36 | + <xsd:sequence> |
| 37 | + <xsd:element name="message" type="xsd:string" /> |
| 38 | + </xsd:sequence> |
| 39 | + </xsd:complexType> |
| 40 | + </xsd:element> |
| 41 | + </xsd:schema> |
| 42 | + </wsdl:types> |
| 43 | + |
| 44 | + <wsdl:message name="helloRequest"> |
| 45 | + <wsdl:part element="tns:helloIn" name="helloIn" /> |
| 46 | + </wsdl:message> |
| 47 | + <wsdl:message name="helloResponse"> |
| 48 | + <wsdl:part element="tns:helloOut" name="helloOut" /> |
| 49 | + </wsdl:message> |
| 50 | + <wsdl:message name="goodbyeRequest"> |
| 51 | + <wsdl:part element="tns:goodbyeIn" name="goodbyeIn" /> |
| 52 | + </wsdl:message> |
| 53 | + <wsdl:message name="goodbyeResponse"> |
| 54 | + <wsdl:part element="tns:goodbyeOut" name="goodbyeOut" /> |
| 55 | + </wsdl:message> |
| 56 | + |
| 57 | + <wsdl:portType name="TestServicePortType"> |
| 58 | + <wsdl:operation name="hello"> |
| 59 | + <wsdl:input message="tns:helloRequest" name="helloRequest" /> |
| 60 | + <wsdl:output message="tns:helloResponse" name="helloResponse" /> |
| 61 | + </wsdl:operation> |
| 62 | + <wsdl:operation name="goodbye"> |
| 63 | + <wsdl:input message="tns:goodbyeRequest" name="goodbyeRequest" /> |
| 64 | + <wsdl:output message="tns:goodbyeResponse" name="goodbyeResponse" /> |
| 65 | + </wsdl:operation> |
| 66 | + </wsdl:portType> |
| 67 | + |
| 68 | + <wsdl:binding name="TestServiceBinding" type="tns:TestServicePortType"> |
| 69 | + <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> |
| 70 | + <wsdl:operation name="hello"> |
| 71 | + <wsdlsoap:operation soapAction="" /> |
| 72 | + <wsdl:input name="helloRequest"> |
| 73 | + <wsdlsoap:body use="literal" /> |
| 74 | + </wsdl:input> |
| 75 | + <wsdl:output name="helloResponse"> |
| 76 | + <wsdlsoap:body use="literal" /> |
| 77 | + </wsdl:output> |
| 78 | + </wsdl:operation> |
| 79 | + <wsdl:operation name="goodbye"> |
| 80 | + <wsdlsoap:operation soapAction="" /> |
| 81 | + <wsdl:input name="goodbyeRequest"> |
| 82 | + <wsdlsoap:body use="literal" /> |
| 83 | + </wsdl:input> |
| 84 | + <wsdl:output name="goodbyeResponse"> |
| 85 | + <wsdlsoap:body use="literal" /> |
| 86 | + </wsdl:output> |
| 87 | + </wsdl:operation> |
| 88 | + </wsdl:binding> |
| 89 | + |
| 90 | + <wsdl:service name="TestService"> |
| 91 | + <wsdl:port name="TestServicePort" binding="tns:TestServiceBinding"> |
| 92 | + <wsdlsoap:address location="http://localhost/server.php" /> |
| 93 | + </wsdl:port> |
| 94 | + </wsdl:service> |
| 95 | + |
| 96 | +</wsdl:definitions> |
0 commit comments