39 lines
1.3 KiB
XML
39 lines
1.3 KiB
XML
<?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>getDate</title>
|
|
<para>Get current time and date.
|
|
Sample request:
|
|
<programlisting language="xml"><![CDATA[
|
|
<soapenv:Envelope
|
|
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
|
xmlns:ws="http://ws.xservices.brutex.net">
|
|
<soapenv:Header/>
|
|
<soapenv:Body>
|
|
<ws:getDate/>
|
|
</soapenv:Body>
|
|
</soapenv:Envelop
|
|
]]></programlisting>
|
|
Sample response:
|
|
<programlisting language="xml"><![CDATA[
|
|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
|
<soap:Body>
|
|
<ns1:getDateResponse xmlns:ns1="http://ws.xservices.brutex.net">
|
|
<ns1:return>
|
|
<ns1:formats>
|
|
<ns1:format1>02.01.2012</ns1:format1>
|
|
<ns1:format2>2012/01/02</ns1:format2>
|
|
<ns1:format3>08:14:40+0100</ns1:format3>
|
|
</ns1:formats>
|
|
<ns1:iso8601date>2012-01-02T08:14:40+0100</ns1:iso8601date>
|
|
<ns1:timestamp>1325488480957</ns1:timestamp>
|
|
</ns1:return>
|
|
</ns1:getDateResponse>
|
|
</soap:Body>
|
|
</soap:Envelope>]]></programlisting>
|
|
</para>
|
|
</section> |