initial import
[Net-Indosoft-Voicebridge.git] / voicebridgeAPI.wsdl
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:voicebridgeAPI" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:voicebridgeAPI">
3 <types>
4 <xsd:schema targetNamespace="urn:voicebridgeAPI"
5 >
6  <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
7  <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
8  <xsd:complexType name="Account">
9   <xsd:all>
10    <xsd:element name="account_id" type="xsd:int"/>
11    <xsd:element name="account_name" type="xsd:string"/>
12    <xsd:element name="account_desc" type="xsd:string"/>
13    <xsd:element name="account_addr" type="xsd:string"/>
14    <xsd:element name="account_city" type="xsd:string"/>
15    <xsd:element name="account_state" type="xsd:string"/>
16    <xsd:element name="account_country" type="xsd:string"/>
17    <xsd:element name="account_zip" type="xsd:string"/>
18    <xsd:element name="account_phone" type="xsd:string"/>
19    <xsd:element name="account_fax" type="xsd:string"/>
20    <xsd:element name="account_email" type="xsd:string"/>
21    <xsd:element name="account_password" type="xsd:string"/>
22   </xsd:all>
23  </xsd:complexType>
24  <xsd:complexType name="Client">
25   <xsd:all>
26    <xsd:element name="client_id" type="xsd:int"/>
27    <xsd:element name="account_id" type="xsd:int"/>
28    <xsd:element name="client_contact_name" type="xsd:string"/>
29    <xsd:element name="client_contact_addr" type="xsd:string"/>
30    <xsd:element name="client_contact_city" type="xsd:string"/>
31    <xsd:element name="client_contact_state" type="xsd:string"/>
32    <xsd:element name="client_contact_country" type="xsd:string"/>
33    <xsd:element name="client_contact_zip" type="xsd:string"/>
34    <xsd:element name="client_contact_phone" type="xsd:string"/>
35    <xsd:element name="client_contact_fax" type="xsd:string"/>
36    <xsd:element name="client_contact_email" type="xsd:string"/>
37    <xsd:element name="client_contact_password" type="xsd:string"/>
38   </xsd:all>
39  </xsd:complexType>
40  <xsd:complexType name="Conference">
41   <xsd:all>
42    <xsd:element name="conference_id" type="xsd:int"/>
43    <xsd:element name="client_id" type="xsd:int"/>
44    <xsd:element name="conference_name" type="xsd:string"/>
45    <xsd:element name="conference_desc" type="xsd:string"/>
46    <xsd:element name="start_time" type="xsd:string"/>
47    <xsd:element name="moderated_flag" type="xsd:int"/>
48    <xsd:element name="entry_ann_flag" type="xsd:int"/>
49    <xsd:element name="record_flag" type="xsd:int"/>
50    <xsd:element name="moh_flag" type="xsd:int"/>
51    <xsd:element name="talk_detect_flag" type="xsd:int"/>
52    <xsd:element name="play_user_cnt_flag" type="xsd:int"/>
53    <xsd:element name="wait_for_admin_flag" type="xsd:int"/>
54    <xsd:element name="stop_on_admin_exit_flag" type="xsd:int"/>
55    <xsd:element name="second_pin_flag" type="xsd:int"/>
56    <xsd:element name="allow_sub_conf" type="xsd:int"/>
57    <xsd:element name="secondary_pin" type="xsd:int"/>
58    <xsd:element name="duration" type="xsd:int"/>
59    <xsd:element name="conference_type" type="xsd:string"/>
60   </xsd:all>
61  </xsd:complexType>
62  <xsd:complexType name="DNIS">
63   <xsd:all>
64    <xsd:element name="dnis_id" type="xsd:int"/>
65    <xsd:element name="dnis" type="xsd:int"/>
66    <xsd:element name="line_name" type="xsd:string"/>
67    <xsd:element name="account_id" type="xsd:int"/>
68    <xsd:element name="client_id" type="xsd:int"/>
69    <xsd:element name="conference_id" type="xsd:int"/>
70    <xsd:element name="message_id" type="xsd:int"/>
71    <xsd:element name="dnis_action" type="xsd:string"/>
72    <xsd:element name="digit_timeout" type="xsd:int"/>
73    <xsd:element name="retries" type="xsd:int"/>
74    <xsd:element name="status" type="xsd:int"/>
75   </xsd:all>
76  </xsd:complexType>
77 </xsd:schema>
78 </types>
79 <message name="addAccountRequest">
80   <part name="account" type="tns:Account" /></message>
81 <message name="addAccountResponse">
82   <part name="return" type="xsd:string" /></message>
83 <message name="modifyAccountRequest">
84   <part name="account" type="tns:Account" /></message>
85 <message name="modifyAccountResponse">
86   <part name="return" type="xsd:string" /></message>
87 <message name="addClientRequest">
88   <part name="client" type="tns:Client" /></message>
89 <message name="addClientResponse">
90   <part name="return" type="xsd:string" /></message>
91 <message name="modifyClientRequest">
92   <part name="client" type="tns:Client" /></message>
93 <message name="modifyClientResponse">
94   <part name="return" type="xsd:string" /></message>
95 <message name="addConferenceRequest">
96   <part name="conference" type="tns:Conference" /></message>
97 <message name="addConferenceResponse">
98   <part name="return" type="xsd:string" /></message>
99 <message name="modifyConferenceRequest">
100   <part name="conference" type="tns:Conference" /></message>
101 <message name="modifyConferenceResponse">
102   <part name="return" type="xsd:string" /></message>
103 <message name="deleteAccountRequest">
104   <part name="account_id" type="xsd:int" /></message>
105 <message name="deleteAccountResponse">
106   <part name="return" type="xsd:string" /></message>
107 <message name="deleteClientRequest">
108   <part name="client_id" type="xsd:int" /></message>
109 <message name="deleteClientResponse">
110   <part name="return" type="xsd:string" /></message>
111 <message name="deleteConferenceRequest">
112   <part name="conference_id" type="xsd:int" /></message>
113 <message name="deleteConferenceResponse">
114   <part name="return" type="xsd:string" /></message>
115 <message name="addConferencePINRequest">
116   <part name="conference_id" type="xsd:int" /></message>
117 <message name="addConferencePINResponse">
118   <part name="return" type="xsd:string" /></message>
119 <message name="modifyConferencePINRequest">
120   <part name="conference_id" type="xsd:int" />
121   <part name="new_pin" type="xsd:int" />
122   <part name="old_pin" type="xsd:int" /></message>
123 <message name="modifyConferencePINResponse">
124   <part name="return" type="xsd:string" /></message>
125 <message name="deleteConferencePINRequest">
126   <part name="conference_id" type="xsd:int" /></message>
127 <message name="deleteConferencePINResponse">
128   <part name="return" type="xsd:string" /></message>
129 <message name="addDNISRequest">
130   <part name="dnis" type="tns:DNIS" /></message>
131 <message name="addDNISResponse">
132   <part name="return" type="xsd:string" /></message>
133 <message name="modifyDNISRequest">
134   <part name="dnis" type="tns:DNIS" /></message>
135 <message name="modifyDNISResponse">
136   <part name="return" type="xsd:string" /></message>
137 <portType name="voicebridgeAPIPortType">
138   <operation name="addAccount">
139     <input message="tns:addAccountRequest"/>
140     <output message="tns:addAccountResponse"/>
141   </operation>
142   <operation name="modifyAccount">
143     <input message="tns:modifyAccountRequest"/>
144     <output message="tns:modifyAccountResponse"/>
145   </operation>
146   <operation name="addClient">
147     <input message="tns:addClientRequest"/>
148     <output message="tns:addClientResponse"/>
149   </operation>
150   <operation name="modifyClient">
151     <input message="tns:modifyClientRequest"/>
152     <output message="tns:modifyClientResponse"/>
153   </operation>
154   <operation name="addConference">
155     <input message="tns:addConferenceRequest"/>
156     <output message="tns:addConferenceResponse"/>
157   </operation>
158   <operation name="modifyConference">
159     <input message="tns:modifyConferenceRequest"/>
160     <output message="tns:modifyConferenceResponse"/>
161   </operation>
162   <operation name="deleteAccount">
163     <input message="tns:deleteAccountRequest"/>
164     <output message="tns:deleteAccountResponse"/>
165   </operation>
166   <operation name="deleteClient">
167     <input message="tns:deleteClientRequest"/>
168     <output message="tns:deleteClientResponse"/>
169   </operation>
170   <operation name="deleteConference">
171     <input message="tns:deleteConferenceRequest"/>
172     <output message="tns:deleteConferenceResponse"/>
173   </operation>
174   <operation name="addConferencePIN">
175     <input message="tns:addConferencePINRequest"/>
176     <output message="tns:addConferencePINResponse"/>
177   </operation>
178   <operation name="modifyConferencePIN">
179     <input message="tns:modifyConferencePINRequest"/>
180     <output message="tns:modifyConferencePINResponse"/>
181   </operation>
182   <operation name="deleteConferencePIN">
183     <input message="tns:deleteConferencePINRequest"/>
184     <output message="tns:deleteConferencePINResponse"/>
185   </operation>
186   <operation name="addDNIS">
187     <input message="tns:addDNISRequest"/>
188     <output message="tns:addDNISResponse"/>
189   </operation>
190   <operation name="modifyDNIS">
191     <input message="tns:modifyDNISRequest"/>
192     <output message="tns:modifyDNISResponse"/>
193   </operation>
194 </portType>
195 <binding name="voicebridgeAPIBinding" type="tns:voicebridgeAPIPortType">
196   <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
197   <operation name="addAccount">
198     <soap:operation soapAction="urn:voicebridgeAPI/addAccount" style="rpc"/>
199     <input><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
200     <output><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
201   </operation>
202   <operation name="modifyAccount">
203     <soap:operation soapAction="urn:voicebridgeAPI/modifyAccount" style="rpc"/>
204     <input><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
205     <output><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
206   </operation>
207   <operation name="addClient">
208     <soap:operation soapAction="urn:voicebridgeAPI/addClient" style="rpc"/>
209     <input><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
210     <output><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
211   </operation>
212   <operation name="modifyClient">
213     <soap:operation soapAction="urn:voicebridgeAPI/modifyClient" style="rpc"/>
214     <input><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
215     <output><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
216   </operation>
217   <operation name="addConference">
218     <soap:operation soapAction="urn:voicebridgeAPI/addConference" style="rpc"/>
219     <input><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
220     <output><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
221   </operation>
222   <operation name="modifyConference">
223     <soap:operation soapAction="urn:voicebridgeAPI/modifyConference" style="rpc"/>
224     <input><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
225     <output><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
226   </operation>
227   <operation name="deleteAccount">
228     <soap:operation soapAction="urn:voicebridgeAPI/deleteAccount" style="rpc"/>
229     <input><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
230     <output><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
231   </operation>
232   <operation name="deleteClient">
233     <soap:operation soapAction="urn:voicebridgeAPI/deleteClient" style="rpc"/>
234     <input><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
235     <output><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
236   </operation>
237   <operation name="deleteConference">
238     <soap:operation soapAction="urn:voicebridgeAPI/deleteConference" style="rpc"/>
239     <input><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
240     <output><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
241   </operation>
242   <operation name="addConferencePIN">
243     <soap:operation soapAction="urn:voicebridgeAPI/addConferencePIN" style="rpc"/>
244     <input><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
245     <output><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
246   </operation>
247   <operation name="modifyConferencePIN">
248     <soap:operation soapAction="urn:voicebridgeAPI/modifyConferencePIN" style="rpc"/>
249     <input><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
250     <output><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
251   </operation>
252   <operation name="deleteConferencePIN">
253     <soap:operation soapAction="urn:voicebridgeAPI/deleteConferencePIN" style="rpc"/>
254     <input><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
255     <output><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
256   </operation>
257   <operation name="addDNIS">
258     <soap:operation soapAction="urn:voicebridgeAPI/addDNIS" style="rpc"/>
259     <input><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
260     <output><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
261   </operation>
262   <operation name="modifyDNIS">
263     <soap:operation soapAction="urn:voicebridgeAPI/modifyDNIS" style="rpc"/>
264     <input><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
265     <output><soap:body use="encoded" namespace="urn:voicebridgeAPI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
266   </operation>
267 </binding>
268 <service name="voicebridgeAPI">
269   <port name="voicebridgeAPIPort" binding="tns:voicebridgeAPIBinding">
270     <soap:address location="http://nxxtcom1.kanobe.net:8080/vbsoap/voicebridgeAPI.php"/>
271   </port>
272 </service>
273 </definitions>