service.wsdl 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="PushService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  3. <wsdl:types>
  4. <xsd:schema targetNamespace="http://tempuri.org/Imports">
  5. <xsd:import namespace="http://tempuri.org/" />
  6. <xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  7. <xsd:import namespace="http://schemas.datacontract.org/2004/07/WindowsPhone.Recipes.Push.Server.Models" />
  8. </xsd:schema>
  9. </wsdl:types>
  10. <wsdl:message name="IPushService_Register_InputMessage">
  11. <wsdl:part name="parameters" element="tns:Register" />
  12. </wsdl:message>
  13. <wsdl:message name="IPushService_Register_OutputMessage">
  14. <wsdl:part name="parameters" element="tns:RegisterResponse" />
  15. </wsdl:message>
  16. <wsdl:message name="IPushService_GetServerInfo_InputMessage">
  17. <wsdl:part name="parameters" element="tns:GetServerInfo" />
  18. </wsdl:message>
  19. <wsdl:message name="IPushService_GetServerInfo_OutputMessage">
  20. <wsdl:part name="parameters" element="tns:GetServerInfoResponse" />
  21. </wsdl:message>
  22. <wsdl:message name="IPushService_UpdateTile_InputMessage">
  23. <wsdl:part name="parameters" element="tns:UpdateTile" />
  24. </wsdl:message>
  25. <wsdl:message name="IPushService_UpdateTile_OutputMessage">
  26. <wsdl:part name="parameters" element="tns:UpdateTileResponse" />
  27. </wsdl:message>
  28. <wsdl:portType name="IPushService">
  29. <wsdl:operation name="Register">
  30. <wsdl:input wsaw:Action="http://tempuri.org/IPushService/Register" message="tns:IPushService_Register_InputMessage" />
  31. <wsdl:output wsaw:Action="http://tempuri.org/IPushService/RegisterResponse" message="tns:IPushService_Register_OutputMessage" />
  32. </wsdl:operation>
  33. <wsdl:operation name="GetServerInfo">
  34. <wsdl:input wsaw:Action="http://tempuri.org/IPushService/GetServerInfo" message="tns:IPushService_GetServerInfo_InputMessage" />
  35. <wsdl:output wsaw:Action="http://tempuri.org/IPushService/GetServerInfoResponse" message="tns:IPushService_GetServerInfo_OutputMessage" />
  36. </wsdl:operation>
  37. <wsdl:operation name="UpdateTile">
  38. <wsdl:input wsaw:Action="http://tempuri.org/IPushService/UpdateTile" message="tns:IPushService_UpdateTile_InputMessage" />
  39. <wsdl:output wsaw:Action="http://tempuri.org/IPushService/UpdateTileResponse" message="tns:IPushService_UpdateTile_OutputMessage" />
  40. </wsdl:operation>
  41. </wsdl:portType>
  42. <wsdl:binding name="BasicHttpBinding_IPushService" type="tns:IPushService">
  43. <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
  44. <wsdl:operation name="Register">
  45. <soap:operation soapAction="http://tempuri.org/IPushService/Register" style="document" />
  46. <wsdl:input>
  47. <soap:body use="literal" />
  48. </wsdl:input>
  49. <wsdl:output>
  50. <soap:body use="literal" />
  51. </wsdl:output>
  52. </wsdl:operation>
  53. <wsdl:operation name="GetServerInfo">
  54. <soap:operation soapAction="http://tempuri.org/IPushService/GetServerInfo" style="document" />
  55. <wsdl:input>
  56. <soap:body use="literal" />
  57. </wsdl:input>
  58. <wsdl:output>
  59. <soap:body use="literal" />
  60. </wsdl:output>
  61. </wsdl:operation>
  62. <wsdl:operation name="UpdateTile">
  63. <soap:operation soapAction="http://tempuri.org/IPushService/UpdateTile" style="document" />
  64. <wsdl:input>
  65. <soap:body use="literal" />
  66. </wsdl:input>
  67. <wsdl:output>
  68. <soap:body use="literal" />
  69. </wsdl:output>
  70. </wsdl:operation>
  71. </wsdl:binding>
  72. <wsdl:service name="PushService">
  73. <wsdl:port name="BasicHttpBinding_IPushService" binding="tns:BasicHttpBinding_IPushService">
  74. <soap:address location="http://localhost:8000/PushService/" />
  75. </wsdl:port>
  76. </wsdl:service>
  77. </wsdl:definitions>