Subversion Repositories XServices

Rev

Rev 83 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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