Arbeitsstand Anfang Februar
git-svn-id: https://brutex.net/svn/xservices/trunk@117 e7e49efb-446e-492e-b9ec-fcafc1997a86tag-20130205r
parent
7811886229
commit
347c3e4664
|
@ -3789,72 +3789,6 @@
|
|||
<title>FileServices</title>
|
||||
<para>The FileServces bundles various file operations. Its WSDL is located at
|
||||
http://server:port/XServices/FileService?wsdl</para>
|
||||
|
||||
<section version="5.0" xml:base="FileServices/downloadFile.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<title>downloadFile</title>
|
||||
<para>Downloads a file as base64 encoded.
|
||||
Sample request:
|
||||
<screen><![CDATA[
|
||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
|
||||
<soapenv:Header/>
|
||||
<soapenv:Body>
|
||||
<!-- downloads a file from the XServices server as base64 encoded -->
|
||||
<ws:downloadFile>
|
||||
<file>
|
||||
<type>FILE</type>
|
||||
<uri>c:\temp\test.docx</uri>
|
||||
</file>
|
||||
</ws:downloadFile>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>
|
||||
]]></screen>
|
||||
Sample response:
|
||||
<programlisting language="xml"><![CDATA[
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
||||
<soap:Body>
|
||||
<ns2:downloadFileResponse xmlns:ns2="http://ws.xservices.brutex.net">
|
||||
<return>
|
||||
<content>ADQBNA[... snipp ...]wAApzcAAAAA</content>
|
||||
<filename>test.docx</filename>
|
||||
</return>
|
||||
</ns2:downloadFileResponse>
|
||||
</soap:Body>
|
||||
</soap:Envelope>]]></programlisting>
|
||||
</para>
|
||||
<para>Encoding files as base64 is very memory consuming!</para>
|
||||
</section>
|
||||
<section version="5.0" xml:base="FileServices/encodeFile.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<title>encodeFile</title>
|
||||
<para>Encodes a file as base64.
|
||||
Sample request:
|
||||
<screen><![CDATA[
|
||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
|
||||
<soapenv:Header/>
|
||||
<soapenv:Body>
|
||||
<ws:encodeFile>
|
||||
<file>
|
||||
<type>FILE</type>
|
||||
<uri>c:\temp\test.docx</uri>
|
||||
</file>
|
||||
</ws:encodeFile>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>
|
||||
]]></screen>
|
||||
Sample response:
|
||||
<programlisting language="xml"><![CDATA[
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
||||
<soap:Body>
|
||||
<ns2:encodeFileResponse xmlns:ns2="http://ws.xservices.brutex.net">
|
||||
<return>
|
||||
<content>ADQBNA[... snipp ...]wAApzcAAAAA</content>
|
||||
<filename>test.docx</filename>
|
||||
</return>
|
||||
</ns2:encodeFileResponse>
|
||||
</soap:Body>
|
||||
</soap:Envelope>]]></programlisting>
|
||||
</para>
|
||||
<para>DEPRECATED: Encoding files as base64 is very memory consuming!</para>
|
||||
</section>
|
||||
</section>
|
||||
<section id="mailservices" version="5.0" xml:base="MailServices.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<title>MailServices</title>
|
||||
|
@ -3944,45 +3878,6 @@
|
|||
correctly.
|
||||
</para>
|
||||
</section>
|
||||
</section>
|
||||
<section id="stringservices" version="5.0" xml:base="StringServices.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<title>StringServices</title>
|
||||
<para>The StringService bundles various operations. Its WSDL is located at
|
||||
http://server:port/XServices/StringService?wsdl</para>
|
||||
|
||||
<section version="5.0" xml:base="StringServices/replaceRegEx.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<title>replaceRegEx</title>
|
||||
<para>Search and Replace using regular expression.
|
||||
Sample request:
|
||||
<screen><![CDATA[
|
||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
||||
xmlns:ws="http://ws.xservices.brutex.net">
|
||||
<soapenv:Header/>
|
||||
<soapenv:Body>
|
||||
<ws:replaceRegEx>
|
||||
<string>Hallo Welt</string>
|
||||
<search>W.*</search>
|
||||
<replace>Brian</replace>
|
||||
<regexflags>ig</regexflags>
|
||||
</ws:replaceRegEx>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>
|
||||
]]></screen>
|
||||
Sample response:
|
||||
<programlisting language="xml"><![CDATA[
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
||||
<soap:Body>
|
||||
<ns2:replaceRegExResponse xmlns:ns2="http://ws.xservices.brutex.net">
|
||||
<return>
|
||||
<string>Hallo Brian</string>
|
||||
<count>1</count>
|
||||
</return>
|
||||
</ns2:replaceRegExResponse>
|
||||
</soap:Body>
|
||||
</soap:Envelope>]]></programlisting>
|
||||
</para>
|
||||
<para>Allowed regexflags are case-insensitive (i) and global search (g).</para>
|
||||
</section>
|
||||
</section>
|
||||
</chapter>
|
||||
|
||||
|
|
|
@ -61,7 +61,6 @@
|
|||
<xi:include href="FileServices.xml" />
|
||||
<xi:include href="MailServices.xml" />
|
||||
<xi:include href="MiscServices.xml" />
|
||||
<xi:include href="StringServices.xml" />
|
||||
</chapter>
|
||||
|
||||
<chapter id="xmltypes">
|
||||
|
|
|
@ -5,7 +5,4 @@
|
|||
<title>FileServices</title>
|
||||
<para>The FileServces bundles various file operations. Its WSDL is located at
|
||||
http://server:port/XServices/FileService?wsdl</para>
|
||||
|
||||
<xi:include href="FileServices/downloadFile.xml" />
|
||||
<xi:include href="FileServices/encodeFile.xml" />
|
||||
</section>
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
id="stringservices">
|
||||
<title>StringServices</title>
|
||||
<para>The StringService bundles various operations. Its WSDL is located at
|
||||
http://server:port/XServices/StringService?wsdl</para>
|
||||
|
||||
<xi:include href="StringServices/replaceRegEx.xml" />
|
||||
</section>
|
Loading…
Reference in New Issue