Hello / Greeting[Link]
Purpose
to obtain information from the EPP server that will handle your requests.
A client can request a <greeting>
from the EPP server by sending a <hello>
command at any time:
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<hello/>
</epp>
The <hello>
element does not contain anything. The server will also send a greeting upon establishment of the connection.
An EPP server responds to a <hello>
command by returning a <greeting>
:
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<greeting>
<svID>dns.be</svID>
<svDate>2010-10-06T12:25:51.085Z</svDate>
<svcMenu>
<version>1.0</version>
<lang>en</lang>
<objURI>urn:ietf:params:xml:ns:contact-1.0</objURI>
<objURI>urn:ietf:params:xml:ns:domain-1.0</objURI>
<svcExtension>
<extURI>http://www.dns.be/xml/epp/nsgroup-1.0</extURI>
<extURI>http://www.dns.be/xml/epp/registrar-1.0</extURI>
<extURI>http://www.dns.be/xml/epp/dnsbe-1.0</extURI>
<extURI>urn:ietf:params:xml:ns:secDNS-1.1</extURI>
<extURI>http://www.dns.be/xml/epp/keygroup-1.0</extURI>
</svcExtension>
</svcMenu>
<dcp>
<access>
<all/>
</access>
<statement>
<purpose>
<admin/>
<prov/>
</purpose>
<recipient>
<ours/>
<public/>
</recipient>
<retention>
<stated/>
</retention>
</statement>
</dcp>
</greeting>
</epp>
The following information can be seen in the reply:
<svID> contains the name of the server (dns.be).
<svcMenu> contains the services supported by the server.
<version> contains the EPP version currently supported (1.0).
<lang> contains the text response language currently supported, as defined in [RFC3066]. Only ‘en’ (english) is available.
<objURI> contains the list of namespace URIs representing the objects that the server is capable of managing: contacts, domains.
<svcExtension> <extURI> contains the list of namespace URIs used by the server: nsgroups, keygroups.
The <dcp> element contains info related to privacy policies.