41 lines
1.3 KiB
XML
41 lines
1.3 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>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> |