Subversion Repositories XServices

Rev

Rev 92 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 92 Rev 165
Line 6... Line 6...
6
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
6
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
7
	xmlns:xi="http://www.w3.org/2001/XInclude">
7
	xmlns:xi="http://www.w3.org/2001/XInclude">
8
	<title>downloadFile</title>
8
	<title>downloadFile</title>
9
	<para>Downloads a file as base64 encoded.
9
	<para>Downloads a file as base64 encoded.
10
	Sample request:
10
	Sample request:
11
<screen><![CDATA[
11
<programlisting language="xml"><![CDATA[
12
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
12
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
13
   <soapenv:Header/>
13
   <soapenv:Header/>
14
   <soapenv:Body>
14
   <soapenv:Body>
15
<!-- downloads a file from the XServices server as base64 encoded -->
15
<!-- downloads a file from the XServices server as base64 encoded -->
16
      <ws:downloadFile>
16
      <ws:downloadFile>
Line 19... Line 19...
19
            <uri>c:\temp\test.docx</uri>
19
            <uri>c:\temp\test.docx</uri>
20
         </file>
20
         </file>
21
      </ws:downloadFile>
21
      </ws:downloadFile>
22
   </soapenv:Body>
22
   </soapenv:Body>
23
</soapenv:Envelope>
23
</soapenv:Envelope>
24
]]></screen>
24
]]></programlisting>
25
	Sample response:
25
	Sample response:
26
	<programlisting language="xml"><![CDATA[
26
	<programlisting language="xml"><![CDATA[
27
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
27
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
28
   <soap:Body>
28
   <soap:Body>
29
      <ns2:downloadFileResponse xmlns:ns2="http://ws.xservices.brutex.net">
29
      <ns2:downloadFileResponse xmlns:ns2="http://ws.xservices.brutex.net">