metaregistrar / php-epp-client

Object-oriented PHP EPP Client
https://www.metaregistrar.com/docs/
MIT License
210 stars 153 forks source link

eurid does not work with eppUpdateDomainRequest #341

Closed toonmbox closed 7 months ago

toonmbox commented 1 year ago

?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>