Subversion Repositories XServices

Rev

Rev 83 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

<?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>getTimestamp</title>
        <para>Get current timestamp in milliseconds (epoch).
        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:getTimestamp/>
   </soapenv:Body>
</soapenv:Envelop
]]>
</programlisting>
        Sample response:
<programlisting language="xml">
<![CDATA[
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns1:getTimestampResponse xmlns:ns1="http://ws.xservices.brutex.net">
         <ns1:return>]]><emphasis>1325488875703</emphasis><![CDATA[</ns1:return>
      </ns1:getTimestampResponse>
   </soap:Body>
</soap:Envelope>]]>
</programlisting>
</para>
</section>

Generated by GNU Enscript 1.6.5.90.