XServices/doc/MiscServices/generateUUID.xml

37 lines
1.1 KiB
XML

<?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>generateUUID</title>
<para>Generates a UUID that represents a 128-bit value. This operation does not require any
input parameters. The output has the format:
<screen>
0xFFFFFFFF00000000 time_low
0x00000000FFFF0000 time_mid
0x000000000000F000 version
0x0000000000000FFF time_hi
</screen>
The least significant long consists of the following unsigned fields:
<screen>
0xC000000000000000 variant
0x3FFF000000000000 clock_seq
0x0000FFFFFFFFFFFF node
</screen>
Sample response:
<screen><![CDATA[
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:generateUUIDResponse
xmlns:ns1="http://ws.xservices.brutex.net">
<ns1:return>]]><emphasis>33b9e5c8-9102-423b-88af-bbee479ebea8</emphasis><![CDATA[</ns1:return>
</ns1:generateUUIDResponse>
</soap:Body>
</soap:Envelope>
]]></screen>
</para>
</section>