7. MiscServices

The MiscService bundles various operations. Its WSDL is located at http://server:port/XServices/MiscService?wsdl

7.1. generateUUID

Generates a UUID that represents a 128-bit value. This operation does not require any input parameters. The output has the format:

		0xFFFFFFFF00000000 time_low
		0x00000000FFFF0000 time_mid
		0x000000000000F000 version
		0x0000000000000FFF time_hi
	

The least significant long consists of the following unsigned fields:

		0xC000000000000000 variant
		0x3FFF000000000000 clock_seq
		0x0000FFFFFFFFFFFF node
	

Sample response:

<soap:Envelope 
	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns1:generateUUIDResponse 
      	xmlns:ns1="http://ws.xservices.brutex.net">
         <ns1:return>33b9e5c8-9102-423b-88af-bbee479ebea8</ns1:return>
      </ns1:generateUUIDResponse>
   </soap:Body>
</soap:Envelope>

7.2. getHostinfo

Collect information about a host address. Sample request:

<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>google.com</ws:hostname>
     		</ws:getHostinfo>
  		</soapenv:Body>
</soapenv:Envelope>

Sample response:

<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>1e100.net</ns1:domain>
            <ns1:ip4>173.194.66.105</ns1:ip4>
            <ns1:ip6>::</ns1:ip6>
            <ns1:name>we-in-f105</ns1:name>
         </ns1:return>
      </ns1:getHostinfoResponse>
   	</soap:Body>
</soap:Envelope>

7.3. sleep

Delays the response by the given minutes/ seconds. Please note, that it may take more time to perform the server roundtrip (network delays, parsing, etc.). Also you may have a network timeout set up in Tomcat or your client that prevents this web service to respond correctly.