metaregistrar / php-epp-client

Object-oriented PHP EPP Client

Home Page:https://www.metaregistrar.com/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eurid does not work with eppUpdateDomainRequest

toonmbox opened this issue · comments

?xml version="1.0" encoding="UTF-8"?>
epp>
command>
update>
domain:update>
domain:name>DOMAIN</domain:name>
domain:add>
domain:contact type="onsite">ONSITE</domain:contact>
/domain:add>
domain:rem>
domain:contact type="onsite"> ONSITE </domain:contact>
/domain:rem>
domain:chg>
domain:registrant>REGISTRANT</domain:registrant>
/domain:chg>
/domain:update>
/update>
clTRID>CLTRID
/command>
/epp>

is incorrect format.
Should be;

?xml version="1.0" encoding="UTF-8" standalone="no"?>
epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
command>
update>
domain:update xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
domain:name>somedomain</domain:name>
domain:chg>
domain:registrant> REGISTRANT </domain:registrant>
/domain:chg>
/domain:update>
/update>
extension>
domain-ext:update xmlns:domain-ext="http://www.eurid.eu/xml/epp/domain-ext-2.3">
domain-ext:add>
domain-ext:contact type="onsite"> ONSITE </domain-ext:contact>
/domain-ext:add>
domain-ext:rem>
domain-ext:contact type="onsite"> ONSITE </domain-ext:contact>
/domain-ext:rem>
/domain-ext:update>
/extension>
clTRID> CLTRID
/command>
/epp>