Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.44 KB | None | 0 0
  1. <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  2.                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  3.                  xmlns:m="http://realdolmen.com/"
  4.                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  5.                  targetNamespace="http://realdolmen.com/">
  6.     <wsdl:types>
  7.         <xsd:schema elementFormDefault="unqualified" attributeFormDefault="unqualified"
  8.                    targetNamespace="http://realdolmen.com/">
  9.             <xsd:element name="match" type="m:match"/>
  10.             <xsd:element name="matchResponse" type="m:matchResponse"/>
  11.             <xsd:complexType name="match">
  12.                 <xsd:sequence>
  13.                     <xsd:element name="a" type="xsd:string" nillable="false"/>
  14.                     <xsd:element name="b" type="xsd:string" nillable="false"/>
  15.                 </xsd:sequence>
  16.             </xsd:complexType>
  17.  
  18.             <xsd:complexType name="matchResponse">
  19.                 <xsd:sequence>
  20.                     <xsd:element name="percentage" type="xsd:integer"/>
  21.                 </xsd:sequence>
  22.             </xsd:complexType>
  23.         </xsd:schema>
  24.     </wsdl:types>
  25.  
  26.     <wsdl:message name="matchInputMessage">
  27.         <wsdl:part name="matchInputMessagePart" element="m:match"/>
  28.     </wsdl:message>
  29.  
  30.     <wsdl:message name="matchOutputMessage">
  31.         <wsdl:part name="matchOutputMessagePart" element="m:matchResponse"/>
  32.     </wsdl:message>
  33.  
  34.     <wsdl:portType name="MatchMakerPortType">
  35.         <wsdl:operation name="match">
  36.             <wsdl:input message="m:matchInputMessage"/>
  37.             <wsdl:output message="m:matchOutputMessage"/>
  38.         </wsdl:operation>
  39.     </wsdl:portType>
  40.  
  41.     <wsdl:binding name="matchMakerBinding" type="m:MatchMakerPortType">
  42.         <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
  43.  
  44.         <wsdl:operation name="match">
  45.             <soap:operation soapAction=""/>
  46.             <wsdl:input>
  47.                 <soap:body use="literal"/>
  48.             </wsdl:input>
  49.  
  50.             <wsdl:output>
  51.                 <soap:body use="literal"/>
  52.             </wsdl:output>
  53.         </wsdl:operation>
  54.     </wsdl:binding>
  55.  
  56.     <wsdl:service name="matchMakerService">
  57.         <wsdl:port name="matchMakerPort" binding="m:matchMakerBinding">
  58.             <soap:address location="http://localhost:8080/webservice-course-1.0-SNAPSHOT/MatchMaker"/>
  59.         </wsdl:port>
  60.     </wsdl:service>
  61. </wsdl:definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement