Subversion Repositories XServices

Rev

Rev 83 | Only display areas with differences | Regard 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>getTimestamp2</title>
8
	<title>getTimestamp2</title>
9
	<para>Get current timestamp in seconds (unix timestamp).
9
	<para>Get current timestamp in seconds (unix timestamp).
10
	Sample request:
10
	Sample request:
-
 
11
<programlisting language="xml">
11
<screen><![CDATA[
12
<![CDATA[
12
<soapenv:Envelope 
13
<soapenv:Envelope 
13
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
14
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
14
	xmlns:ws="http://ws.xservices.brutex.net">
15
	xmlns:ws="http://ws.xservices.brutex.net">
15
   <soapenv:Header/>
16
   <soapenv:Header/>
16
   <soapenv:Body>
17
   <soapenv:Body>
17
      <ws:getTimestamp2/>
18
      <ws:getTimestamp2/>
18
   </soapenv:Body>
19
   </soapenv:Body>
19
</soapenv:Envelop
20
</soapenv:Envelop
-
 
21
]]>
20
]]></screen>
22
</programlisting>
21
	Sample response:
23
	Sample response:
-
 
24
<programlisting language="xml">
22
<screen><![CDATA[
25
<![CDATA[
23
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
26
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
24
   <soap:Body>
27
   <soap:Body>
25
      <ns1:getTimestamp2Response xmlns:ns1="http://ws.xservices.brutex.net">
28
      <ns1:getTimestamp2Response xmlns:ns1="http://ws.xservices.brutex.net">
26
         <ns1:return>]]><emphasis>1325488876</emphasis><![CDATA[</ns1:return>
29
         <ns1:return>]]><emphasis>1325488876</emphasis><![CDATA[</ns1:return>
27
      </ns1:getTimestamp2Response>
30
      </ns1:getTimestamp2Response>
28
   </soap:Body>
31
   </soap:Body>
29
</soap:Envelope>]]></screen>
32
</soap:Envelope>]]>
-
 
33
</programlisting>
30
</para>
34
</para>
31
</section>
35
</section>
32
 
36
 
33
Generated by GNU Enscript 1.6.5.90.
37
Generated by GNU Enscript 1.6.5.90.
34
 
38
 
35
 
39