Subversion Repositories XServices

Rev

Rev 163 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 163 Rev 165
Line 3870... Line 3870...
3870
		http://server:port/XServices/FileService?wsdl</para>
3870
		http://server:port/XServices/FileService?wsdl</para>
3871
				<section version="5.0" xml:base="FileServices/downloadFile.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
3871
				<section version="5.0" xml:base="FileServices/downloadFile.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
3872
	<title>downloadFile</title>
3872
	<title>downloadFile</title>
3873
	<para>Downloads a file as base64 encoded.
3873
	<para>Downloads a file as base64 encoded.
3874
	Sample request:
3874
	Sample request:
3875
<screen><![CDATA[
3875
<programlisting language="xml"><![CDATA[
3876
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
3876
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
3877
   <soapenv:Header/>
3877
   <soapenv:Header/>
3878
   <soapenv:Body>
3878
   <soapenv:Body>
3879
<!-- downloads a file from the XServices server as base64 encoded -->
3879
<!-- downloads a file from the XServices server as base64 encoded -->
3880
      <ws:downloadFile>
3880
      <ws:downloadFile>
Line 3883... Line 3883...
3883
            <uri>c:\temp\test.docx</uri>
3883
            <uri>c:\temp\test.docx</uri>
3884
         </file>
3884
         </file>
3885
      </ws:downloadFile>
3885
      </ws:downloadFile>
3886
   </soapenv:Body>
3886
   </soapenv:Body>
3887
</soapenv:Envelope>
3887
</soapenv:Envelope>
3888
]]></screen>
3888
]]></programlisting>
3889
	Sample response:
3889
	Sample response:
3890
	<programlisting language="xml"><![CDATA[
3890
	<programlisting language="xml"><![CDATA[
3891
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3891
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
3892
   <soap:Body>
3892
   <soap:Body>
3893
      <ns2:downloadFileResponse xmlns:ns2="http://ws.xservices.brutex.net">
3893
      <ns2:downloadFileResponse xmlns:ns2="http://ws.xservices.brutex.net">