Subversion Repositories XServices

Compare Revisions

No changes between revisions

Ignore whitespace Rev 178 → Rev 179

/xservices/branches/xservices-jre6/doc/DateServices/getTimestamp2.xml
0,0 → 1,35
<?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>
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property