123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <definitions name="SonicMobile Web-Services"
- targetNamespace="http://soap.sonicmobile.com/sonicmobile.wsdl"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:sonic="http://soap.sonicmobile.com/sonicmobile.wsdl"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <types>
- <xsd:schema xmlns="http://www.w3.org/2000/10/XMLSchema">
- <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
- <complexType name="TransportCount">
- <all>
- <element name="transport" type="string" />
- <element name="count" type="integer" />
- <element name="rate" type="integer" />
- <element name="last_message" type="integer" />
- </all>
- </complexType>
- <complexType name="ArrayOfTransportCount">
- <complexContent>
- <restriction base="soapenc:Array">
- <attribute ref="soapenc:arrayType" arrayType="TransportCount[]" />
- </restriction>
- </complexContent>
- </complexType>
- </xsd:schema>
- </types>
-
- <message name="userSendMessageRequest">
- <part name="sourceUser" type="xsd:int"/>
- <part name="password" type="xsd:string"/>
- <part name="destinationUser" type="xsd:int"/>
- <part name="content" type="xsd:string"/>
- <part name="sendRepliesTo" type="xsd:string"/>
- <part name="reference" type="xsd:string"/>
- </message>
- <message name="sendMessageRequest">
- <part name="application" type="xsd:string"/>
- <part name="password" type="xsd:string"/>
- <part name="destination" type="xsd:string"/>
- <part name="content" type="xsd:string"/>
- <part name="reference" type="xsd:string"/>
- <part name="requestSource" type="xsd:string"/>
- <part name="customer" type="xsd:string"/>
- <part name="class" type="xsd:string"/>
- </message>
- <message name="MessageResponse">
- <part name="messageid" type="xsd:int"/>
- <part name="response" type="xsd:string"/>
- </message>
- <message name="messageCountRequest">
- <part name="password" type="xsd:string"/>
- </message>
- <message name="messageCountResponse">
- <part name="transports" type="tns:ArrayOfTransportCount"/>
- </message>
-
- <message name="serverStatusRequest">
- <part name="password" type="xsd:string"/>
- </message>
- <message name="serverStatusResponse">
- <part name="status_string" type="xsd:string"/>
- </message>
-
- <message name="flushGatewayRequest">
- <part name="password" type="xsd:string"/>
- </message>
- <message name="flushGatewayResponse">
- <part name="status_string" type="xsd:string"/>
- </message>
-
- <portType name="SonicMobilePortType">
- <operation name="userSendMessage">
- <input message="sonic:userSendMessageRequest"/>
- <output message="sonic:MessageResponse"/>
- </operation>
- <operation name="sendMessage">
- <input message="sonic:sendMessageRequest"/>
- <output message="sonic:MessageResponse"/>
- </operation>
- <operation name="messageCount">
- <input message="sonic:messageCountRequest"/>
- <output message="sonic:messageCountResponse"/>
- </operation>
-
- <operation name="serverStatus">
- <input message="sonic:serverStatusRequest"/>
- <output message="sonic:serverStatusResponse"/>
- </operation>
-
- <operation name="flushGateway">
- <input message="sonic:flushGatewayRequest"/>
- <output message="sonic:flushGatewayResponse"/>
- </operation>
- </portType>
- <binding name="SonicMobileBinding" type="sonic:SonicMobilePortType">
- <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="userSendMessage">
- <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#userSendMessage"/>
- <input>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </input>
-
- <output>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </output>
- </operation>
- <operation name="sendMessage">
- <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#sendMessage"/>
- <input>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </input>
-
- <output>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </output>
- </operation>
-
- <operation name="messageCount">
- <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#messageCount"/>
- <input>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </input>
-
- <output>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </output>
- </operation>
-
- <operation name="serverStatus">
- <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#serverStatus"/>
-
- <input>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </input>
-
- <output>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </output>
- </operation>
-
- <operation name="flushGateway">
- <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#flushGateway"/>
-
- <input>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </input>
- <output>
- <soap:body
- encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- namespace="http://soap.sonicmobile.com/SonicMobile/SOAP"
- use="encoded" />
- </output>
- </operation>
-
- </binding>
- <service name="SonicMobile">
- <port name="SonicMobilePort" binding="sonic:SonicMobileBinding">
- <soap:address location="http://soap.sonicmobile.com/"/>
- </port>
- </service>
- </definitions>
|