2012-01-23 19:54:01 +01:00
|
|
|
<?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>getTimestamp2</title>
|
|
|
|
<para>Get current timestamp in seconds (unix timestamp).
|
|
|
|
Sample request:
|
2014-06-15 11:43:44 +02:00
|
|
|
<programlisting language="xml">
|
|
|
|
<![CDATA[
|
2012-01-23 19:54:01 +01:00
|
|
|
<soapenv:Envelope
|
|
|
|
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
|
|
|
xmlns:ws="http://ws.xservices.brutex.net">
|
|
|
|
<soapenv:Header/>
|
|
|
|
<soapenv:Body>
|
|
|
|
<ws:getTimestamp2/>
|
|
|
|
</soapenv:Body>
|
|
|
|
</soapenv:Envelop
|
2014-06-15 11:43:44 +02:00
|
|
|
]]>
|
|
|
|
</programlisting>
|
2012-01-23 19:54:01 +01:00
|
|
|
Sample response:
|
2014-06-15 11:43:44 +02:00
|
|
|
<programlisting language="xml">
|
|
|
|
<![CDATA[
|
2012-01-23 19:54:01 +01:00
|
|
|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
|
|
|
<soap:Body>
|
|
|
|
<ns1:getTimestamp2Response xmlns:ns1="http://ws.xservices.brutex.net">
|
|
|
|
<ns1:return>]]><emphasis>1325488876</emphasis><![CDATA[</ns1:return>
|
|
|
|
</ns1:getTimestamp2Response>
|
|
|
|
</soap:Body>
|
2014-06-15 11:43:44 +02:00
|
|
|
</soap:Envelope>]]>
|
|
|
|
</programlisting>
|
2012-01-23 19:54:01 +01:00
|
|
|
</para>
|
|
|
|
</section>
|