Subversion Repositories XServices

Rev

Rev 67 | Rev 83 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 67 Rev 77
Line 638... Line 638...
638
</section>
638
</section>
639
		<section id="miscservices" version="5.0" xml:base="MiscServices.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
639
		<section id="miscservices" version="5.0" xml:base="MiscServices.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
640
	<title>MiscServices</title>
640
	<title>MiscServices</title>
641
	<para>The MiscService bundles various operations. Its WSDL is located at
641
	<para>The MiscService bundles various operations. Its WSDL is located at
642
		http://server:port/XServices/MiscService?wsdl</para>
642
		http://server:port/XServices/MiscService?wsdl</para>
-
 
643
		<section version="5.0" xml:base="MiscServices/generateUUID.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
-
 
644
	<title>generateUUID</title>
-
 
645
	<para>Generates a UUID that represents a 128-bit value. This operation does not require any
-
 
646
	 input parameters. The output has the format:
-
 
647
	<screen>
-
 
648
		0xFFFFFFFF00000000 time_low
-
 
649
		0x00000000FFFF0000 time_mid
-
 
650
		0x000000000000F000 version
-
 
651
		0x0000000000000FFF time_hi
-
 
652
	</screen>
Line -... Line 653...
-
 
653
	
-
 
654
		The least significant long consists of the following unsigned fields:
-
 
655
	<screen>
-
 
656
		0xC000000000000000 variant
-
 
657
		0x3FFF000000000000 clock_seq
-
 
658
		0x0000FFFFFFFFFFFF node
-
 
659
	</screen>
-
 
660
	Sample response:
-
 
661
	<screen><![CDATA[
-
 
662
<soap:Envelope 
-
 
663
	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
-
 
664
   <soap:Body>
-
 
665
      <ns1:generateUUIDResponse 
-
 
666
      	xmlns:ns1="http://ws.xservices.brutex.net">
-
 
667
         <ns1:return>]]><emphasis>33b9e5c8-9102-423b-88af-bbee479ebea8</emphasis><![CDATA[</ns1:return>
-
 
668
      </ns1:generateUUIDResponse>
-
 
669
   </soap:Body>
-
 
670
</soap:Envelope>
-
 
671
]]></screen>
-
 
672
</para>
-
 
673
</section>
-
 
674
		<section version="5.0" xml:base="MiscServices/getHostinfo.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
-
 
675
	<title>getHostinfo</title>
-
 
676
	<para>Collect information about a host address.
-
 
677
	Sample request:
-
 
678
<screen><![CDATA[
-
 
679
<soapenv:Envelope 
-
 
680
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
-
 
681
	xmlns:ws="http://ws.xservices.brutex.net">
-
 
682
  		<soapenv:Header/>
-
 
683
  		<soapenv:Body>
-
 
684
		<ws:getHostinfo>
-
 
685
        		<ws:hostname>]]><emphasis>google.com</emphasis><![CDATA[</ws:hostname>
-
 
686
     		</ws:getHostinfo>
-
 
687
  		</soapenv:Body>
-
 
688
</soapenv:Envelope>
-
 
689
]]></screen>
-
 
690
	Sample response:
-
 
691
	<screen><![CDATA[
-
 
692
<soap:Envelope 
-
 
693
	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
-
 
694
  	<soap:Body>
-
 
695
      <ns1:getHostinfoResponse 
-
 
696
      	xmlns:ns1="http://ws.xservices.brutex.net">
-
 
697
         <ns1:return>
-
 
698
            <ns1:domain>]]><emphasis>1e100.net</emphasis><![CDATA[</ns1:domain>
-
 
699
            <ns1:ip4>]]><emphasis>173.194.66.105</emphasis><![CDATA[</ns1:ip4>
-
 
700
            <ns1:ip6>]]><emphasis>::</emphasis><![CDATA[</ns1:ip6>
-
 
701
            <ns1:name>]]><emphasis>we-in-f105</emphasis><![CDATA[</ns1:name>
-
 
702
         </ns1:return>
-
 
703
      </ns1:getHostinfoResponse>
-
 
704
   	</soap:Body>
-
 
705
</soap:Envelope>
-
 
706
]]></screen>
-
 
707
</para>
643
 
708
</section>
644
</section>		
709
</section>		
Line 645... Line 710...
645
	</chapter>
710
	</chapter>
646
 
711