bug36614.wsdl 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <definitions name="SonicMobile Web-Services"
  3. targetNamespace="http://soap.sonicmobile.com/sonicmobile.wsdl"
  4. xmlns="http://schemas.xmlsoap.org/wsdl/"
  5. xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  6. xmlns:sonic="http://soap.sonicmobile.com/sonicmobile.wsdl"
  7. xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  8. <types>
  9. <xsd:schema xmlns="http://www.w3.org/2000/10/XMLSchema">
  10. <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  11. <complexType name="TransportCount">
  12. <all>
  13. <element name="transport" type="string" />
  14. <element name="count" type="integer" />
  15. <element name="rate" type="integer" />
  16. <element name="last_message" type="integer" />
  17. </all>
  18. </complexType>
  19. <complexType name="ArrayOfTransportCount">
  20. <complexContent>
  21. <restriction base="soapenc:Array">
  22. <attribute ref="soapenc:arrayType" arrayType="TransportCount[]" />
  23. </restriction>
  24. </complexContent>
  25. </complexType>
  26. </xsd:schema>
  27. </types>
  28. <message name="userSendMessageRequest">
  29. <part name="sourceUser" type="xsd:int"/>
  30. <part name="password" type="xsd:string"/>
  31. <part name="destinationUser" type="xsd:int"/>
  32. <part name="content" type="xsd:string"/>
  33. <part name="sendRepliesTo" type="xsd:string"/>
  34. <part name="reference" type="xsd:string"/>
  35. </message>
  36. <message name="sendMessageRequest">
  37. <part name="application" type="xsd:string"/>
  38. <part name="password" type="xsd:string"/>
  39. <part name="destination" type="xsd:string"/>
  40. <part name="content" type="xsd:string"/>
  41. <part name="reference" type="xsd:string"/>
  42. <part name="requestSource" type="xsd:string"/>
  43. <part name="customer" type="xsd:string"/>
  44. <part name="class" type="xsd:string"/>
  45. </message>
  46. <message name="MessageResponse">
  47. <part name="messageid" type="xsd:int"/>
  48. <part name="response" type="xsd:string"/>
  49. </message>
  50. <message name="messageCountRequest">
  51. <part name="password" type="xsd:string"/>
  52. </message>
  53. <message name="messageCountResponse">
  54. <part name="transports" type="tns:ArrayOfTransportCount"/>
  55. </message>
  56. <message name="serverStatusRequest">
  57. <part name="password" type="xsd:string"/>
  58. </message>
  59. <message name="serverStatusResponse">
  60. <part name="status_string" type="xsd:string"/>
  61. </message>
  62. <message name="flushGatewayRequest">
  63. <part name="password" type="xsd:string"/>
  64. </message>
  65. <message name="flushGatewayResponse">
  66. <part name="status_string" type="xsd:string"/>
  67. </message>
  68. <portType name="SonicMobilePortType">
  69. <operation name="userSendMessage">
  70. <input message="sonic:userSendMessageRequest"/>
  71. <output message="sonic:MessageResponse"/>
  72. </operation>
  73. <operation name="sendMessage">
  74. <input message="sonic:sendMessageRequest"/>
  75. <output message="sonic:MessageResponse"/>
  76. </operation>
  77. <operation name="messageCount">
  78. <input message="sonic:messageCountRequest"/>
  79. <output message="sonic:messageCountResponse"/>
  80. </operation>
  81. <operation name="serverStatus">
  82. <input message="sonic:serverStatusRequest"/>
  83. <output message="sonic:serverStatusResponse"/>
  84. </operation>
  85. <operation name="flushGateway">
  86. <input message="sonic:flushGatewayRequest"/>
  87. <output message="sonic:flushGatewayResponse"/>
  88. </operation>
  89. </portType>
  90. <binding name="SonicMobileBinding" type="sonic:SonicMobilePortType">
  91. <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
  92. <operation name="userSendMessage">
  93. <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#userSendMessage"/>
  94. <input>
  95. <soap:body
  96. encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  97. namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
  98. use="encoded" />
  99. </input>
  100. <output>
  101. <soap:body
  102. encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  103. namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
  104. use="encoded" />
  105. </output>
  106. </operation>
  107. <operation name="sendMessage">
  108. <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#sendMessage"/>
  109. <input>
  110. <soap:body
  111. encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  112. namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
  113. use="encoded" />
  114. </input>
  115. <output>
  116. <soap:body
  117. encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  118. namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
  119. use="encoded" />
  120. </output>
  121. </operation>
  122. <operation name="messageCount">
  123. <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#messageCount"/>
  124. <input>
  125. <soap:body
  126. encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  127. namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
  128. use="encoded" />
  129. </input>
  130. <output>
  131. <soap:body
  132. encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  133. namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
  134. use="encoded" />
  135. </output>
  136. </operation>
  137. <operation name="serverStatus">
  138. <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#serverStatus"/>
  139. <input>
  140. <soap:body
  141. encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  142. namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
  143. use="encoded" />
  144. </input>
  145. <output>
  146. <soap:body
  147. encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  148. namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
  149. use="encoded" />
  150. </output>
  151. </operation>
  152. <operation name="flushGateway">
  153. <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#flushGateway"/>
  154. <input>
  155. <soap:body
  156. encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  157. namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
  158. use="encoded" />
  159. </input>
  160. <output>
  161. <soap:body
  162. encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  163. namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
  164. use="encoded" />
  165. </output>
  166. </operation>
  167. </binding>
  168. <service name="SonicMobile">
  169. <port name="SonicMobilePort" binding="sonic:SonicMobileBinding">
  170. <soap:address location="http://soap.sonicmobile.com/"/>
  171. </port>
  172. </service>
  173. </definitions>