Subversion Repositories XServices

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
77 brianR 1
<?xml version='1.0' encoding='utf-8'?>
2
<!DOCTYPE section [
3
<!ENTITY % myent SYSTEM "../entities.ent">
4
%myent;
5
]>
6
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
7
	xmlns:xi="http://www.w3.org/2001/XInclude">
8
	<title>getHostinfo</title>
9
	<para>Collect information about a host address.
10
	Sample request:
11
<screen><![CDATA[
12
<soapenv:Envelope
13
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
14
	xmlns:ws="http://ws.xservices.brutex.net">
15
  		<soapenv:Header/>
16
  		<soapenv:Body>
17
		<ws:getHostinfo>
18
        		<ws:hostname>]]><emphasis>google.com</emphasis><![CDATA[</ws:hostname>
19
     		</ws:getHostinfo>
20
  		</soapenv:Body>
21
</soapenv:Envelope>
22
]]></screen>
23
	Sample response:
24
	<screen><![CDATA[
25
<soap:Envelope
26
	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
27
  	<soap:Body>
28
      <ns1:getHostinfoResponse
29
      	xmlns:ns1="http://ws.xservices.brutex.net">
30
         <ns1:return>
31
            <ns1:domain>]]><emphasis>1e100.net</emphasis><![CDATA[</ns1:domain>
32
            <ns1:ip4>]]><emphasis>173.194.66.105</emphasis><![CDATA[</ns1:ip4>
33
            <ns1:ip6>]]><emphasis>::</emphasis><![CDATA[</ns1:ip6>
34
            <ns1:name>]]><emphasis>we-in-f105</emphasis><![CDATA[</ns1:name>
35
         </ns1:return>
36
      </ns1:getHostinfoResponse>
37
   	</soap:Body>
38
</soap:Envelope>
39
]]></screen>
40
</para>
41
</section>