Subversion Repositories XServices

Rev

Rev 159 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
83 brianR 1
<?xml version='1.0' encoding='utf-8'?>
2
<!DOCTYPE section [
3
<!ENTITY % myent SYSTEM "../entities.ent">
4
%myent;
5
]>
6
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
7
	xmlns:xi="http://www.w3.org/2001/XInclude">
8
	<title>getDate</title>
9
	<para>Get current time and date.
10
	Sample request:
159 brianR 11
<programlisting language="xml"><![CDATA[
83 brianR 12
<soapenv:Envelope
13
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
14
	xmlns:ws="http://ws.xservices.brutex.net">
15
   <soapenv:Header/>
16
   <soapenv:Body>
17
      <ws:getDate/>
18
   </soapenv:Body>
19
</soapenv:Envelop
159 brianR 20
]]></programlisting>
83 brianR 21
	Sample response:
22
	<programlisting language="xml"><![CDATA[
23
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
24
   <soap:Body>
25
      <ns1:getDateResponse xmlns:ns1="http://ws.xservices.brutex.net">
26
         <ns1:return>
27
            <ns1:formats>
28
               <ns1:format1>02.01.2012</ns1:format1>
29
               <ns1:format2>2012/01/02</ns1:format2>
30
               <ns1:format3>08:14:40+0100</ns1:format3>
31
            </ns1:formats>
32
            <ns1:iso8601date>2012-01-02T08:14:40+0100</ns1:iso8601date>
33
            <ns1:timestamp>1325488480957</ns1:timestamp>
34
         </ns1:return>
35
      </ns1:getDateResponse>
36
   </soap:Body>
37
</soap:Envelope>]]></programlisting>
38
</para>
39
</section>