]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - PhpWiki.wsdl
Add public/private
[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:string"/>
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="hits" type="xsd:int"/>
139             <xsd:element name="date" type="xsd:int"/>
140             <xsd:element name="locked" type="xsd:string"/>
141         </xsd:all>
142     </xsd:complexType>
143
144     <portType name="wikiPortType">
145         <operation name="getPageContent">
146             <input message="tns:getPageContent"/>
147             <output message="tns:getPageContentResponse"/>
148         </operation>
149         <operation name="getPageRevision">
150             <input message="tns:getPageRevision"/>
151             <output message="tns:getPageContentResponse"/>
152         </operation>
153         <operation name="getCurrentRevision">
154             <input message="tns:getPageRevision"/>
155             <output message="tns:getRevisionResponse"/>
156         </operation>
157         <operation name="getPageMeta">
158             <input message="tns:getPageMeta"/>
159             <output message="tns:getPageMetaResponse"/>
160         </operation>
161         <operation name="doSavePage">
162             <input message="tns:doSavePage"/>
163             <output message="tns:doSavePageResponse"/>
164         </operation>
165         <operation name="getAllPagenames">
166             <input message="tns:getAllPagenames"/>
167             <output message="tns:PagenameListResponse"/>
168         </operation>
169         <operation name="getBackLinks">
170             <input message="tns:getBackLinks"/>
171             <output message="tns:PagenameListResponse"/>
172         </operation>
173         <operation name="doTitleSearch">
174             <input message="tns:doTitleSearch"/>
175             <output message="tns:PagenameListResponse"/>
176         </operation>
177         <operation name="doFullTextSearch">
178             <input message="tns:doFullTextSearch"/>
179             <output message="tns:PagenameListResponse"/>
180         </operation>
181         <operation name="getRecentChanges">
182             <input message="tns:getRecentChanges"/>
183             <output message="tns:RecentChangesResponse"/>
184         </operation>
185         <operation name="listLinks">
186             <input message="tns:listLinks"/>
187             <output message="tns:PagenameListResponse"/>
188         </operation>
189         <operation name="listPlugins">
190             <input message="tns:listPlugins"/>
191             <output message="tns:StringListResponse"/>
192         </operation>
193         <operation name="callPlugin">
194             <input message="tns:callPlugin"/>
195             <output message="tns:PagenameListResponse"/>
196         </operation>
197         <operation name="getPluginSynopsis">
198             <input message="tns:getPluginSynopsis"/>
199             <output message="tns:StringResponse"/>
200         </operation>
201         <operation name="listRelations">
202             <input message="tns:listRelations"/>
203             <output message="tns:StringListResponse"/>
204         </operation>
205         <operation name="linkSearch">
206             <input message="tns:callPlugin"/>
207             <output message="tns:LinkSearchResponse"/>
208         </operation>
209     </portType>
210
211     <binding name="wikiBinding" type="tns:wikiPortType">
212         <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
213         <operation name="getPageContent">
214             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
215             <input>
216                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
217             </input>
218             <output>
219                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
220             </output>
221         </operation>
222         <operation name="getPageRevision">
223             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
224             <input>
225                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
226             </input>
227             <output>
228                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
229             </output>
230         </operation>
231         <operation name="getCurrentRevision">
232             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
233             <input>
234                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
235             </input>
236             <output>
237                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
238             </output>
239         </operation>
240         <operation name="getPageMeta">
241             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
242             <input>
243                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
244             </input>
245             <output>
246                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
247             </output>
248         </operation>
249         <operation name="doSavePage">
250             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
251             <input>
252                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
253             </input>
254             <output>
255                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
256             </output>
257         </operation>
258         <operation name="getAllPagenames">
259             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
260             <input>
261                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
262             </input>
263             <output>
264                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
265             </output>
266         </operation>
267         <operation name="getBackLinks">
268             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
269             <input>
270                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
271             </input>
272             <output>
273                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
274             </output>
275         </operation>
276         <operation name="doTitleSearch">
277             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
278             <input>
279                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
280             </input>
281             <output>
282                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
283             </output>
284         </operation>
285         <operation name="doFullTextSearch">
286             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
287             <input>
288                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
289             </input>
290             <output>
291                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
292             </output>
293         </operation>
294         <operation name="getRecentChanges">
295             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
296             <input>
297                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
298             </input>
299             <output>
300                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
301             </output>
302         </operation>
303         <operation name="listLinks">
304             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
305             <input>
306                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
307             </input>
308             <output>
309                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
310             </output>
311         </operation>
312         <operation name="listPlugins">
313             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
314             <input>
315                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
316             </input>
317             <output>
318                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
319             </output>
320         </operation>
321         <operation name="getPluginSynopsis">
322             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
323             <input>
324                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
325             </input>
326             <output>
327                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
328             </output>
329         </operation>
330         <operation name="callPlugin">
331             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
332             <input>
333                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
334             </input>
335             <output>
336                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
337             </output>
338         </operation>
339         <operation name="listRelations">
340             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
341             <input>
342                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
343             </input>
344             <output>
345                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
346             </output>
347         </operation>
348         <operation name="linkSearch">
349             <soap:operation soapAction="http://phpwiki.sourceforge.net/phpwiki/SOAP.php"/>
350             <input>
351                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
352             </input>
353             <output>
354                 <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
355             </output>
356         </operation>
357     </binding>
358
359     <service name="wikiService">
360         <port name="wikiPortType" binding="tns:wikiBinding">
361             <soap:address location="http://phpwiki.fr/SOAP.php" />
362         </port>
363     </service>
364 </definitions>