Subversion Repositories XServices

Rev

Rev 159 | 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>getTimestamp2</title>
        <para>Get current timestamp in seconds (unix timestamp).
        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:getTimestamp2/>
   </soapenv:Body>
</soapenv:Envelop
]]>
</programlisting>
        Sample response:
<programlisting language="xml">
<![CDATA[
<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>
</soap:Envelope>]]>
</programlisting>
</para>
</section>

Generated by GNU Enscript 1.6.5.90.