]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - PhpWiki.wsdl
Remove unused; add PHP Doc
[SourceForge/phpwiki.git] / PhpWiki.wsdl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <definitions name="Wiki"
3              targetNamespace="http://phpwiki.sourceforge.net/PhpWiki.wsdl"
4              xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
5              xmlns:tns="http://phpwiki.sourceforge.net/PhpWiki.wsdl"
6              xmlns:xsd="http://www.w3.org/1999/XMLSchema"
7              xmlns="http://schemas.xmlsoap.org/wsdl/"
8         >
9
10     <message name="getPageContent">
11         <part name="pagename" type="xsd:string"/>
12         <part name="credentials" type="xsd:string"/>
13     </message>
14     <message name="getPageRevision">
15         <part name="pagename" type="xsd:string"/>
16         <part name="revision" type="xsd:double"/>
17         <part name="credentials" type="xsd:string"/>
18     </message>
19     <message name="getPageContentResponse">
20         <part name="content" type="xsd:string"/>
21     </message>
22
23     <message name="getCurrentRevision">
24         <part name="pagename" type="xsd:string"/>
25         <part name="credentials" type="xsd:string"/>
26     </message>
27     <message name="getRevisionResponse">
28         <part name="revision" type="xsd:double"/>
29     </message>
30
31     <message name="getPageMeta">
32         <part name="pagename" type="xsd:string"/>
33         <part name="credentials" type="xsd:string"/>
34     </message>
35     <message name="getPageMetaResponse">
36         <part name="meta" type="typens:PageMetadata"/>
37     </message>
38     <message name="doSavePage">
39         <part name="pagename" type="xsd:string"/>
40         <part name="content"  type="xsd:string"/>
41         <part name="credentials" type="xsd:string"/>
42     </message>
43     <message name="doSavePageResponse">
44         <part name="successcode" type="xsd:int"/>
45     </message>
46
47     <message name="getAllPagenames">
48         <part name="credentials" type="xsd:string"/>
49     </message>
50     <message name="getBackLinks">
51         <part name="pagename" type="xsd:string"/>
52         <part name="credentials" type="xsd:string"/>
53     </message>
54     <message name="doTitleSearch">
55         <part name="query" type="xsd:string"/>
56         <part name="credentials" type="xsd:string"/>
57     </message>
58     <message name="doFullTextSearch">
59         <part name="query" type="xsd:string"/>
60         <part name="credentials" type="xsd:string"/>
61     </message>
62     <message name="getRecentChanges">
63         <part name="limit" type="xsd:int"/>
64         <part name="since" type="xsd:int"/>
65         <part name="include_minor" type="xsd:int"/>
66         <part name="credentials" type="xsd:string"/>
67     </message>
68     <message name="listLinks">
69         <part name="pagename" type="xsd:string"/>
70         <part name="credentials" type="xsd:string"/>
71     </message>
72     <message name="listPlugins">
73         <part name="credentials" type="xsd:string"/>
74     </message>
75     <message name="callPlugin">
76         <part name="pluginname" type="xsd:string"/>
77         <part name="pluginargs" type="xsd:string"/>
78         <part name="credentials" type="xsd:string"/>
79     </message>
80     <message name="getPluginSynopsis">
81         <part name="pluginname" type="xsd:string"/>
82         <part name="credentials" type="xsd:string"/>
83     </message>
84     <message name="listRelations">
85         <part name="option" type="xsd:int"/>
86         <part name="credentials" type="xsd:string"/>
87     </message>
88     <message name="linkSearch">
89         <part name="linktype"  type="xsd:string"/>
90         <part name="search"    type="xsd:string"/>
91         <part name="pages"     type="xsd:string"/>
92         <part name="relation"  type="xsd:string"/>
93         <part name="credentials" type="xsd:string"/>
94     </message>
95
96     <message name="PagenameListResponse">
97         <part name="content" type="xsd:PagenameList"/>
98     </message>
99     <message name="RecentChangesResponse">
100         <part name="content" type="xsd:RecentChangesList"/>
101     </message>
102     <message name="StringListResponse">
103         <part name="content" type="xsd:StringList"/>
104     </message>
105     <message name="LinkSearchResponse">
106         <part name="content" type="xsd:RdfTripleList"/>
107     </message>
108     <message name="StringResponse">
109         <part name="content" type="xsd:string"/>
110     </message>
111
112     <xsd:complexType name="PagenameList">
113         <xsd:all>
114             <part name="pagename" type="xsd:string"/>
115         </xsd:all>
116     </xsd:complexType>
117     <xsd:complexType name="RdfTripleList">
118         <xsd:all>
119             <part name="pagename" type="xsd:string"/>
120             <part name="relation" type="xsd:string"/>
121             <part name="target"   type="xsd:string"/>
122         </xsd:all>
123     </xsd:complexType>
124     <xsd:complexType name="StringList">
125         <xsd:all type="xsd:string" />
126     </xsd:complexType>
127     <xsd:complexType name="RecentChangesList">
128         <xsd:all>
129             <part name="pagename"     type="xsd:string"/>
130             <part name="lastModified" type="xsd:int"/>
131             <part name="author"       type="xsd:string"/>
132             <part name="summary"      type="xsd:string"/>
133             <part name="version"      type="xsd:int"/>
134         </xsd:all>
135     </xsd:complexType>
136     <xsd:complexType name="PageMetadata">
137         <xsd:all>
138             <xsd:element name="createdby" type="xsd:string"/>
139             <xsd:element name="lastauthor" type="xsd:string"/>
140             <xsd:element name="ctime" type="xsd:int"/>
141             <xsd:element name="mtime" type="xsd:int"/>
142             <xsd:element name="atime" type="xsd:int"/>
143         </xsd:all>
144     </xsd:complexType>
145
146     <portType name="wikiPortType">
147         <operation name="getPageContent">
148             <input message="tns:getPageContent"/>
149             <output message="tns:getPageContentResponse"/>
150         </operation>
151         <operation name="getPageRevision">
152             <input message="tns:getPageRevision"/>
153             <output message="tns:getPageContentResponse"/>
154         </operation>
155         <operation name="getCurrentRevision">
156             <input message="tns:getPageRevision"/>
157             <output message="tns:getRevisionResponse"/>
158         </operation>
159         <operation name="getPageMeta">
160             <input message="tns:getPageMeta"/>
161             <output message="tns:getPageMetaResponse"/>
162         </operation>
163         <operation name="doSavePage">
164             <input message="tns:doSavePage"/>
165             <output message="tns:doSavePageResponse"/>
166         </operation>
167         <operation name="getAllPagenames">
168             <input message="tns:getAllPagenames"/>
169             <output message="tns:PagenameListResponse"/>
170         </operation>
171         <operation name="getBackLinks">
172             <input message="tns:getBackLinks"/>
173             <output message="tns:PagenameListResponse"/>
174         </operation>
175         <operation name="doTitleSearch">
176             <input message="tns:doTitleSearch"/>
177             <output message="tns:PagenameListResponse"/>
178         </operation>
179         <operation name="doFullTextSearch">
180             <input message="tns:doFullTextSearch"/>
181             <output message="tns:PagenameListResponse"/>
182         </operation>
183         <operation name="getRecentChanges">
184             <input message="tns:getRecentChanges"/>
185             <output message="tns:RecentChangesResponse"/>
186         </operation>
187         <operation name="listLinks">
188             <input message="tns:listLinks"/>
189             <output message="tns:PagenameListResponse"/>
190         </operation>
191         <operation name="listPlugins">
192             <input message="tns:listPlugins"/>
193             <output message="tns:StringListResponse"/>
194         </operation>
195         <operation name="callPlugin">
196             <input message="tns:callPlugin"/>
197             <output message="tns:PagenameListResponse"/>
198         </operation>
199         <operation name="getPluginSynopsis">
200             <input message="tns:getPluginSynopsis"/>
201             <output message="tns:StringResponse"/>
202         </operation>
203         <operation name="listRelations">
204             <input message="tns:listRelations"/>
205             <output message="tns:StringListResponse"/>
206         </operation>
207         <operation name="linkSearch">
208             <input message="tns:callPlugin"/>
209             <output message="tns:LinkSearchResponse"/>
210         </operation>
211     </portType>
212
213     <binding name="wikiBinding" type="tns:wikiPortType">
214         <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
215         <operation name="getPageContent">
216             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
217             <input>
218                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
219             </input>
220             <output>
221                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
222             </output>
223         </operation>
224         <operation name="getPageRevision">
225             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
226             <input>
227                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
228             </input>
229             <output>
230                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
231             </output>
232         </operation>
233         <operation name="getCurrentRevision">
234             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
235             <input>
236                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
237             </input>
238             <output>
239                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
240             </output>
241         </operation>
242         <operation name="getPageMeta">
243             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
244             <input>
245                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
246             </input>
247             <output>
248                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
249             </output>
250         </operation>
251         <operation name="doSavePage">
252             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
253             <input>
254                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
255             </input>
256             <output>
257                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
258             </output>
259         </operation>
260         <operation name="getAllPagenames">
261             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
262             <input>
263                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
264             </input>
265             <output>
266                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
267             </output>
268         </operation>
269         <operation name="getBackLinks">
270             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
271             <input>
272                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
273             </input>
274             <output>
275                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
276             </output>
277         </operation>
278         <operation name="doTitleSearch">
279             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
280             <input>
281                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
282             </input>
283             <output>
284                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
285             </output>
286         </operation>
287         <operation name="doFullTextSearch">
288             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
289             <input>
290                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
291             </input>
292             <output>
293                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
294             </output>
295         </operation>
296         <operation name="getRecentChanges">
297             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
298             <input>
299                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
300             </input>
301             <output>
302                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
303             </output>
304         </operation>
305         <operation name="listLinks">
306             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
307             <input>
308                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
309             </input>
310             <output>
311                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
312             </output>
313         </operation>
314         <operation name="listPlugins">
315             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
316             <input>
317                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
318             </input>
319             <output>
320                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
321             </output>
322         </operation>
323         <operation name="getPluginSynopsis">
324             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
325             <input>
326                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
327             </input>
328             <output>
329                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
330             </output>
331         </operation>
332         <operation name="callPlugin">
333             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
334             <input>
335                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
336             </input>
337             <output>
338                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
339             </output>
340         </operation>
341         <operation name="listRelations">
342             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
343             <input>
344                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
345             </input>
346             <output>
347                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
348             </output>
349         </operation>
350         <operation name="linkSearch">
351             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
352             <input>
353                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
354             </input>
355             <output>
356                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
357             </output>
358         </operation>
359     </binding>
360
361     <service name="wikiService">
362         <port name="wikiPortType" binding="tns:wikiBinding">
363             <soap:address location="http://phpwiki.fr/SOAP.php" />
364         </port>
365     </service>
366 </definitions>