Subversion Repositories XServices

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
83 brianR 1
<?xml version='1.0' encoding='utf-8'?>
2
<!DOCTYPE section [
3
<!ENTITY % myent SYSTEM "../entities.ent">
4
%myent;
5
]>
6
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
7
	xmlns:xi="http://www.w3.org/2001/XInclude">
8
	<title>getTimestamp2</title>
9
	<para>Get current timestamp in seconds (unix timestamp).
10
	Sample request:
11
<screen><![CDATA[
12
<soapenv:Envelope
13
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
14
	xmlns:ws="http://ws.xservices.brutex.net">
15
   <soapenv:Header/>
16
   <soapenv:Body>
17
      <ws:getTimestamp2/>
18
   </soapenv:Body>
19
</soapenv:Envelop
20
]]></screen>
21
	Sample response:
22
<screen><![CDATA[
23
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
24
   <soap:Body>
25
      <ns1:getTimestamp2Response xmlns:ns1="http://ws.xservices.brutex.net">
26
         <ns1:return>]]><emphasis>1325488876</emphasis><![CDATA[</ns1:return>
27
      </ns1:getTimestamp2Response>
28
   </soap:Body>
29
</soap:Envelope>]]></screen>
30
</para>
31
</section>