Subversion Repositories XServices

Compare Revisions

No changes between revisions

Ignore whitespace Rev 87 → Rev 88

/xservices/trunk/doc/BruteXServices_User_Guide.xml
61,6 → 61,7
<xi:include href="FileServices.xml" />
<xi:include href="MailServices.xml" />
<xi:include href="MiscServices.xml" />
<xi:include href="StringServices.xml" />
</chapter>
 
<chapter id="xmltypes">
/xservices/trunk/doc/StringServices.xml
0,0 → 1,10
<?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>
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/xservices/trunk/doc/StringServices/replaceRegEx.xml
0,0 → 1,39
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
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>
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property