root/site/api/schemas/so/init/Init-Service-1.0.wsdl
@
364
| Revision 364, 4.2 kB (checked in by nadya, 4 years ago) |
|---|
| Line | |
|---|---|
| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | |
| 3 | <!-- |
| 4 | |
| 5 | Copyright (c) 2009, Telnic Ltd. |
| 6 | |
| 7 | All rights reserved. |
| 8 | |
| 9 | Redistribution and use in source and binary forms, with or without |
| 10 | modification, are permitted provided that the following conditions are met: |
| 11 | |
| 12 | - Redistributions of source code must retain the above copyright notice, |
| 13 | this list of conditions and the following disclaimer. |
| 14 | - Redistributions in binary form must reproduce the above copyright notice, |
| 15 | this list of conditions and the following disclaimer in the documentation |
| 16 | and/or other materials provided with the distribution. |
| 17 | - Neither the name of the Telnic Ltd. nor the names of its contributors may |
| 18 | be used to endorse or promote products derived from this software without |
| 19 | specific prior written permission. |
| 20 | |
| 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 22 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
| 23 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 24 | PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
| 25 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 26 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 27 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
| 28 | OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 29 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 30 | OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 31 | ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 32 | |
| 33 | WSDL description of the Telnic .tel name client initialization API |
| 34 | (bindings and services) |
| 35 | --> |
| 36 | |
| 37 | <definitions name="InitService" |
| 38 | targetNamespace="http://xmlns.telnic.org/ws/so/init/service-1.0" |
| 39 | xmlns:defs="http://xmlns.telnic.org/ws/so/init/definitions-1.0" |
| 40 | xmlns:tns="http://xmlns.telnic.org/ws/so/init/service-1.0" |
| 41 | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/" |
| 42 | xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| 43 | |
| 44 | |
| 45 | <!-- import the definitions and types --> |
| 46 | |
| 47 | <import |
| 48 | namespace="http://xmlns.telnic.org/ws/so/init/definitions-1.0" |
| 49 | location="Init-1.0.wsdl"/> |
| 50 | |
| 51 | |
| 52 | <!-- |
| 53 | binding for the Telnic client initialization API; note that we are using |
| 54 | WSDL according to the "document/literal wrapped" pattern, see |
| 55 | http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl |
| 56 | --> |
| 57 | |
| 58 | <binding name="InitBinding" type="defs:InitPort"> |
| 59 | <soap:binding style="document" |
| 60 | transport="http://www.w3.org/2003/05/soap/bindings/HTTP/"/> |
| 61 | |
| 62 | |
| 63 | <!-- the "get challenge question" operation --> |
| 64 | |
| 65 | <operation name="getChallengeQuestion"> |
| 66 | <soap:operation |
| 67 | soapAction="http://ws.telnic.org/so/init/getChallengeQuestionAction"/> |
| 68 | <input> |
| 69 | <soap:body use="literal"/> |
| 70 | </input> |
| 71 | <output> |
| 72 | <soap:body use="literal"/> |
| 73 | </output> |
| 74 | <fault name="parametersFault"> |
| 75 | <soap:fault name="parametersFault" use="literal"/> |
| 76 | </fault> |
| 77 | </operation> |
| 78 | |
| 79 | |
| 80 | <!-- the "get API credentials" operation --> |
| 81 | |
| 82 | <operation name="getAPICredentials"> |
| 83 | <soap:operation |
| 84 | soapAction="http://ws.telnic.org/so/init/getAPICredentialsAction"/> |
| 85 | <input> |
| 86 | <soap:body use="literal"/> |
| 87 | </input> |
| 88 | <output> |
| 89 | <soap:body use="literal"/> |
| 90 | </output> |
| 91 | <fault name="parametersFault"> |
| 92 | <soap:fault name="parametersFault" use="literal"/> |
| 93 | </fault> |
| 94 | </operation> |
| 95 | |
| 96 | |
| 97 | |
| 98 | <!-- the "get PKCS#12 key store" operation --> |
| 99 | |
| 100 | <operation name="getPKCS12"> |
| 101 | <soap:operation |
| 102 | soapAction="http://xmlns.telnic.org/so/init/getPKCS12Action"/> |
| 103 | <input> |
| 104 | <soap:body use="literal"/> |
| 105 | </input> |
| 106 | <output> |
| 107 | <soap:body use="literal"/> |
| 108 | </output> |
| 109 | <fault name="parametersFault"> |
| 110 | <soap:fault name="parametersFault" use="literal"/> |
| 111 | </fault> |
| 112 | </operation> |
| 113 | |
| 114 | |
| 115 | </binding> |
| 116 | |
| 117 | <!-- endpoint for the Telnic SO API --> |
| 118 | |
| 119 | <service name="InitService"> |
| 120 | <port name="InitPort" binding="tns:InitBinding"> |
| 121 | <soap:address |
| 122 | location="http://api.so.telnic.org/init"/> |
| 123 | </port> |
| 124 | </service> |
| 125 | |
| 126 | </definitions> |
Note: See TracBrowser
for help on using the browser.








