Subversion Repositories XServices

Rev

Rev 83 | Go to most recent revision | Details | Compare with Previous | 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>getTimestamp</title>
9
	<para>Get current timestamp in milliseconds (epoch).
10
	Sample request:
159 brianR 11
<programlisting language="xml">
12
<![CDATA[
83 brianR 13
<soapenv:Envelope
14
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
15
	xmlns:ws="http://ws.xservices.brutex.net">
16
   <soapenv:Header/>
17
   <soapenv:Body>
18
      <ws:getTimestamp/>
19
   </soapenv:Body>
20
</soapenv:Envelop
159 brianR 21
]]>
22
</programlisting>
83 brianR 23
	Sample response:
159 brianR 24
<programlisting language="xml">
25
<![CDATA[
83 brianR 26
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
27
   <soap:Body>
28
      <ns1:getTimestampResponse xmlns:ns1="http://ws.xservices.brutex.net">
29
         <ns1:return>]]><emphasis>1325488875703</emphasis><![CDATA[</ns1:return>
30
      </ns1:getTimestampResponse>
31
   </soap:Body>
159 brianR 32
</soap:Envelope>]]>
33
</programlisting>
83 brianR 34
</para>
35
</section>