640,72 → 640,7 |
<title>MiscServices</title> |
<para>The MiscService bundles various operations. Its WSDL is located at |
http://server:port/XServices/MiscService?wsdl</para> |
<section version="5.0" xml:base="MiscServices/generateUUID.xml" xmlns="http://docbook.org/ns/docbook" 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> |
<section version="5.0" xml:base="MiscServices/getHostinfo.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"> |
<title>getHostinfo</title> |
<para>Collect information about a host address. |
Sample request: |
<screen><![CDATA[ |
<soapenv:Envelope |
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" |
xmlns:ws="http://ws.xservices.brutex.net"> |
<soapenv:Header/> |
<soapenv:Body> |
<ws:getHostinfo> |
<ws:hostname>]]><emphasis>google.com</emphasis><![CDATA[</ws:hostname> |
</ws:getHostinfo> |
</soapenv:Body> |
</soapenv:Envelope> |
]]></screen> |
Sample response: |
<screen><![CDATA[ |
<soap:Envelope |
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> |
<soap:Body> |
<ns1:getHostinfoResponse |
xmlns:ns1="http://ws.xservices.brutex.net"> |
<ns1:return> |
<ns1:domain>]]><emphasis>1e100.net</emphasis><![CDATA[</ns1:domain> |
<ns1:ip4>]]><emphasis>173.194.66.105</emphasis><![CDATA[</ns1:ip4> |
<ns1:ip6>]]><emphasis>::</emphasis><![CDATA[</ns1:ip6> |
<ns1:name>]]><emphasis>we-in-f105</emphasis><![CDATA[</ns1:name> |
</ns1:return> |
</ns1:getHostinfoResponse> |
</soap:Body> |
</soap:Envelope> |
]]></screen> |
</para> |
</section> |
|
</section> |
</chapter> |
|