1<?xml version="1.0" encoding="UTF-8"?> 2<wsdl:definitions 3 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 4 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 5 xmlns:s="http://www.w3.org/2001/XMLSchema" 6 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 7 xmlns:hello="http://example.com/hello" 8 xmlns="http://example.com/hello" 9 targetNamespace="http://example.com/hello"> 10 11 <wsdl:types> 12 <s:schema elementFormDefault="qualified" targetNamespace="http://example.com/hello"> 13 <s:element minOccurs="0" maxOccurs="1" name="who" type="s:string"/> 14 <s:element minOccurs="0" maxOccurs="1" name="greeting" type="s:string"/> 15 <s:element minOccurs="0" maxOccurs="1" name="count" type="s:integer"/> 16 </s:schema> 17 </wsdl:types> 18 <wsdl:message name="AskGreeting"> 19 <wsdl:part name="who" element="hello:who"/> 20 <wsdl:part name="greeting" element="hello:greeting"/> 21 <wsdl:part name="count" element="hello:count"/> 22 </wsdl:message> 23 <wsdl:message name="GiveGreeting"> 24 <wsdl:part name="greeting" element="hello:greeting"/> 25 </wsdl:message> 26 <wsdl:portType name="GreetingPort"> 27 <wsdl:operation name="Greet"> 28 <wsdl:input message="hello:AskGreeting"/> 29 <wsdl:output message="hello:GiveGreeting"/> 30 </wsdl:operation> 31 </wsdl:portType> 32 <wsdl:binding name="GreetingBind" type="hello:GreetingPort"> 33 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/> 34 <wsdl:operation name="Greet"> 35 <soap:operation soapAction="http://example.com/" /> 36 <wsdl:input> 37 <soap:body use="literal" namespace="http://example.com/hello"/> 38 </wsdl:input> 39 <wsdl:output> 40 <soap:body use="literal" namespace="http://example.com/hello"/> 41 </wsdl:output> 42 </wsdl:operation> 43 </wsdl:binding> 44 <wsdl:service name="GreetService"> 45 <wsdl:port name="GreetPort" binding="hello:GreetingBind"> 46 <soap:address location="http://localhost:3000/hello"/> 47 </wsdl:port> 48 </wsdl:service> 49</wsdl:definitions> 50