Subversion Repositories XServices

Rev

Rev 83 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 83 Rev 159
Line 6... Line 6...
6
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
6
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
7
	xmlns:xi="http://www.w3.org/2001/XInclude">
7
	xmlns:xi="http://www.w3.org/2001/XInclude">
8
	<title>getTimestamp</title>
8
	<title>getTimestamp</title>
9
	<para>Get current timestamp in milliseconds (epoch).
9
	<para>Get current timestamp in milliseconds (epoch).
10
	Sample request:
10
	Sample request:
-
 
11
<programlisting language="xml">
11
<screen><![CDATA[
12
<![CDATA[
12
<soapenv:Envelope 
13
<soapenv:Envelope 
13
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
14
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
14
	xmlns:ws="http://ws.xservices.brutex.net">
15
	xmlns:ws="http://ws.xservices.brutex.net">
15
   <soapenv:Header/>
16
   <soapenv:Header/>
16
   <soapenv:Body>
17
   <soapenv:Body>
17
      <ws:getTimestamp/>
18
      <ws:getTimestamp/>
18
   </soapenv:Body>
19
   </soapenv:Body>
19
</soapenv:Envelop
20
</soapenv:Envelop
-
 
21
]]>
20
]]></screen>
22
</programlisting>
21
	Sample response:
23
	Sample response:
-
 
24
<programlisting language="xml">
22
<screen><![CDATA[
25
<![CDATA[
23
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
26
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
24
   <soap:Body>
27
   <soap:Body>
25
      <ns1:getTimestampResponse xmlns:ns1="http://ws.xservices.brutex.net">
28
      <ns1:getTimestampResponse xmlns:ns1="http://ws.xservices.brutex.net">
26
         <ns1:return>]]><emphasis>1325488875703</emphasis><![CDATA[</ns1:return>
29
         <ns1:return>]]><emphasis>1325488875703</emphasis><![CDATA[</ns1:return>
27
      </ns1:getTimestampResponse>
30
      </ns1:getTimestampResponse>
28
   </soap:Body>
31
   </soap:Body>
29
</soap:Envelope>]]></screen>
32
</soap:Envelope>]]>
-
 
33
</programlisting>
30
</para>
34
</para>
31
</section>
35
</section>
32
 
36