Rick H Wesson wrote:
>by the way do you have a list of changes between epp-02 and -04? what
>changed with ROIDs and how contacts are created? I just can't remember
The major differences pertain to object statuses and contacts. EPP 04
introduced more object client statuses and renamed the server statuses
to include the word "server". Transfer statuses were changed as well to
include "server" and "client" statuses.
I believe that there is also a minor change to the generic response. In
02, there exists an optional msgQ which would tell you how many poll
messages exist in the registry for your client id. EPP 04 adds a sub
tag to msgQ called "qDate" which tells you the timestamp of the last new
message on the queue.
The remainder of the changes have to do with contact objects. In EPP
02, the registrar would supply only contact information (name, org,
address, etc...) for a contact create request. The registry would
return the new contact object's ROID. This would be the object
identifier in further requests regarding that object (info, update,
transfer, delete). Plus, this ROID would be used to associate the
contact with domains. When creating a brand new contact, the check
command would have no use since the registrar has no control over the
In EPP 04, the registrar must supply the contact object's identifier.
Like a domain's and a host's name, the contact ID cannot already exist
in the registry for any registrar. The registrar could typically use a
DB sequence, perhaps in combination with a short form of the registrar's
name to prevent collisions with other registrars. So here, the contact
check command becomes very useful to avoid failed create commands due to
Upon a successful creation, the contact ID is used in associations with
domains as the ROID was in EPP 02. I think even the method names are
the same (setRegistrant(), setContacts(), etc...). But wherever you
called setRoid() or setRoids(), you have to change the calls to setId()
and setIds(). Same for getRoid(). (see a follow-up email on this subject)
The only place that ROIDs come into play (for any object) in EPP 04 is
in the info response. Those are mostly for reference, but might be
useful if the registry's whois service permits generic queries by ROID.
Scott, if you wish to further comment on this, feel free.