Return to bug36614.wsdl CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / soap / tests / bugs |
1.1 misho 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: 9: <types> 10: <xsd:schema xmlns="http://www.w3.org/2000/10/XMLSchema"> 11: <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> 12: <complexType name="TransportCount"> 13: <all> 14: <element name="transport" type="string" /> 15: <element name="count" type="integer" /> 16: <element name="rate" type="integer" /> 17: <element name="last_message" type="integer" /> 18: </all> 19: </complexType> 20: <complexType name="ArrayOfTransportCount"> 21: <complexContent> 22: <restriction base="soapenc:Array"> 23: <attribute ref="soapenc:arrayType" arrayType="TransportCount[]" /> 24: </restriction> 25: </complexContent> 26: </complexType> 27: </xsd:schema> 28: </types> 29: 30: <message name="userSendMessageRequest"> 31: <part name="sourceUser" type="xsd:int"/> 32: <part name="password" type="xsd:string"/> 33: <part name="destinationUser" type="xsd:int"/> 34: <part name="content" type="xsd:string"/> 35: <part name="sendRepliesTo" type="xsd:string"/> 36: <part name="reference" type="xsd:string"/> 37: </message> 38: 39: <message name="sendMessageRequest"> 40: <part name="application" type="xsd:string"/> 41: <part name="password" type="xsd:string"/> 42: <part name="destination" type="xsd:string"/> 43: <part name="content" type="xsd:string"/> 44: <part name="reference" type="xsd:string"/> 45: <part name="requestSource" type="xsd:string"/> 46: <part name="customer" type="xsd:string"/> 47: <part name="class" type="xsd:string"/> 48: </message> 49: 50: <message name="MessageResponse"> 51: <part name="messageid" type="xsd:int"/> 52: <part name="response" type="xsd:string"/> 53: </message> 54: 55: <message name="messageCountRequest"> 56: <part name="password" type="xsd:string"/> 57: </message> 58: 59: <message name="messageCountResponse"> 60: <part name="transports" type="tns:ArrayOfTransportCount"/> 61: </message> 62: 63: <message name="serverStatusRequest"> 64: <part name="password" type="xsd:string"/> 65: </message> 66: <message name="serverStatusResponse"> 67: <part name="status_string" type="xsd:string"/> 68: </message> 69: 70: <message name="flushGatewayRequest"> 71: <part name="password" type="xsd:string"/> 72: </message> 73: <message name="flushGatewayResponse"> 74: <part name="status_string" type="xsd:string"/> 75: </message> 76: 77: <portType name="SonicMobilePortType"> 78: <operation name="userSendMessage"> 79: <input message="sonic:userSendMessageRequest"/> 80: <output message="sonic:MessageResponse"/> 81: </operation> 82: 83: <operation name="sendMessage"> 84: <input message="sonic:sendMessageRequest"/> 85: <output message="sonic:MessageResponse"/> 86: </operation> 87: 88: <operation name="messageCount"> 89: <input message="sonic:messageCountRequest"/> 90: <output message="sonic:messageCountResponse"/> 91: </operation> 92: 93: <operation name="serverStatus"> 94: <input message="sonic:serverStatusRequest"/> 95: <output message="sonic:serverStatusResponse"/> 96: </operation> 97: 98: <operation name="flushGateway"> 99: <input message="sonic:flushGatewayRequest"/> 100: <output message="sonic:flushGatewayResponse"/> 101: </operation> 102: </portType> 103: 104: <binding name="SonicMobileBinding" type="sonic:SonicMobilePortType"> 105: <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" /> 106: 107: <operation name="userSendMessage"> 108: <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#userSendMessage"/> 109: 110: <input> 111: <soap:body 112: encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 113: namespace="http://soap.sonicmobile.com/SonicMobile/SOAP" 114: use="encoded" /> 115: </input> 116: 117: <output> 118: <soap:body 119: encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 120: namespace="http://soap.sonicmobile.com/SonicMobile/SOAP" 121: use="encoded" /> 122: </output> 123: </operation> 124: 125: <operation name="sendMessage"> 126: <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#sendMessage"/> 127: 128: <input> 129: <soap:body 130: encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 131: namespace="http://soap.sonicmobile.com/SonicMobile/SOAP" 132: use="encoded" /> 133: </input> 134: 135: <output> 136: <soap:body 137: encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 138: namespace="http://soap.sonicmobile.com/SonicMobile/SOAP" 139: use="encoded" /> 140: </output> 141: </operation> 142: 143: <operation name="messageCount"> 144: <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#messageCount"/> 145: 146: <input> 147: <soap:body 148: encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 149: namespace="http://soap.sonicmobile.com/SonicMobile/SOAP" 150: use="encoded" /> 151: </input> 152: 153: <output> 154: <soap:body 155: encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 156: namespace="http://soap.sonicmobile.com/SonicMobile/SOAP" 157: use="encoded" /> 158: </output> 159: </operation> 160: 161: <operation name="serverStatus"> 162: <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#serverStatus"/> 163: 164: <input> 165: <soap:body 166: encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 167: namespace="http://soap.sonicmobile.com/SonicMobile/SOAP" 168: use="encoded" /> 169: </input> 170: 171: <output> 172: <soap:body 173: encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 174: namespace="http://soap.sonicmobile.com/SonicMobile/SOAP" 175: use="encoded" /> 176: </output> 177: </operation> 178: 179: <operation name="flushGateway"> 180: <soap:operation soapAction="http://soap.sonicmobile.com/SonicMobile/SOAP#flushGateway"/> 181: 182: <input> 183: <soap:body 184: encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 185: namespace="http://soap.sonicmobile.com/SonicMobile/SOAP" 186: use="encoded" /> 187: </input> 188: <output> 189: <soap:body 190: encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 191: namespace="http://soap.sonicmobile.com/SonicMobile/SOAP" 192: use="encoded" /> 193: </output> 194: </operation> 195: 196: </binding> 197: 198: <service name="SonicMobile"> 199: <port name="SonicMobilePort" binding="sonic:SonicMobileBinding"> 200: <soap:address location="http://soap.sonicmobile.com/"/> 201: </port> 202: </service> 203: 204: </definitions>