Advertisement
Guest User

Untitled

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