Subversion Repositories XServices

Compare Revisions

No changes between revisions

Ignore whitespace Rev 179 → Rev 180

/xservices/branches/xservices-jre7/doc/DateServices/getDate.xml
0,0 → 1,39
<?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>getDate</title>
<para>Get current time and date.
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:getDate/>
</soapenv:Body>
</soapenv:Envelop
]]></programlisting>
Sample response:
<programlisting language="xml"><![CDATA[
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:getDateResponse xmlns:ns1="http://ws.xservices.brutex.net">
<ns1:return>
<ns1:formats>
<ns1:format1>02.01.2012</ns1:format1>
<ns1:format2>2012/01/02</ns1:format2>
<ns1:format3>08:14:40+0100</ns1:format3>
</ns1:formats>
<ns1:iso8601date>2012-01-02T08:14:40+0100</ns1:iso8601date>
<ns1:timestamp>1325488480957</ns1:timestamp>
</ns1:return>
</ns1:getDateResponse>
</soap:Body>
</soap:Envelope>]]></programlisting>
</para>
</section>
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property