Denne siden viser eksempler på EPP XML-sekvenser mellom en EPP-klient og EPP-tjeneren.
Endringshistorikk
- 2023-05-16: Noen få korreksjoner.
- 2021-08-24: Nyeste versjon av egenerklæring er nå 3.2, og må brukes i stedet for eksempelverdi.
- 2019-12-10: Nyeste versjon av egenerklæring er nå 3.1, og må brukes i stedet for eksempelverdi.
- 2018-08-07:
Oppdaterte tre av sekvensene for å vise bruken av den nyeste egenerklæringen, versjon 3.0:- Domain create
- Domain info showing the created domain
- Domain update of applicant dataset only Legg merke til at andre eksempler kan bruke versjon 2.0, men i praksis kan versjon 2.0 bli avvist. Hvis det skjer, bruk 3.0 i stedet.
- 2018-05-14:
Sekvenser for ny datamodell er standard, og sekvenser for gammel modell er tatt bort. Antall sekvenser er dermed redusert.
Eksemplene er for det meste dumpet via en Net::DRI kommandolinjeklient utviklet for .no, men for servicemeldinger er også webklienten for EPP og klientens loggfunksjon brukt.
Merk: Sekvensene inneholder kun eksempeldata. Alle tekster er på engelsk.
Contact info
Contact info on the two contact objects created in 'ccre-newdm'. --- <?xml version="1.0" encoding="UTF-8" standalone="no"?> <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"> <command> <info> <contact:info xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd"> <contact:id>TH1283O</contact:id> </contact:info> </info> <clTRID>NORID-EC0.97-19e4-20170911081118-0e02d2</clTRID> </command> </epp> 2017-09-11 10:11:18.973177 [NOTICE] <transport>NORID-EC0.97-19e4-20170911081118-0e02d2 IN <?xml version="1.0" encoding="UTF-8" standalone="no"?> <epp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ietf:params:xml:ns:epp-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd"> <response> <result code="1000"> <msg>Command completed successfully</msg> </result> <msgQ count="7" id="435030380"/> <resData> <contact:infData xmlns="urn:ietf:params:xml:ns:contact-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd"> <contact:id>TH1283O</contact:id> <contact:roid>TH1283O-NORID</contact:roid> <contact:status s="ok"/> <contact:postalInfo type="loc"> <contact:name>Trond Haugen</contact:name> <contact:org>TBG UTLEIE</contact:org> <contact:addr> <contact:street>Example building</contact:street> <contact:street>Example st. 23b</contact:street> <contact:street>5 etg</contact:street> <contact:city>Trondheim</contact:city> <contact:pc>NO-7005</contact:pc> <contact:cc>NO</contact:cc> </contact:addr> </contact:postalInfo> <contact:voice>+47.12345679</contact:voice> <contact:email>xml@example.no</contact:email> <contact:clID>reg9094</contact:clID> <contact:crID>reg9094</contact:crID> <contact:crDate>2017-09-11T07:58:41.46Z</contact:crDate> </contact:infData> </resData> <extension> <no-ext-contact:infData xmlns="http://www.norid.no/xsd/no-ext-contact-1.0" xmlns:no-ext-contact="http://www.norid.no/xsd/no-ext-contact-1.0" xsi:schemaLocation="http://www.norid.no/xsd/no-ext-contact-1.0 no-ext-contact-1.0.xsd"> <no-ext-contact:type>organization</no-ext-contact:type> <no-ext-contact:identity type="organizationNumber">819066302</no-ext-contact:identity> <no-ext-contact:mobilePhone>+47.12345678</no-ext-contact:mobilePhone> <no-ext-contact:email>xml-sec@example.no</no-ext-contact:email> </no-ext-contact:infData> </extension> <trID> <clTRID>NORID-EC0.97-19e4-20170911081118-0e02d2</clTRID> <svTRID>20170911101118918976-hcv8rv-reg9094-NORID</svTRID> </trID> </response> </epp> --- <?xml version="1.0" encoding="UTF-8" standalone="no"?> <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"> <command> <info> <contact:info xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd"> <contact:id>TR85R</contact:id> </contact:info> </info> <clTRID>NORID-EC0.97-19ef-20170911080717-056870</clTRID> </command> </epp> 2017-09-11 10:07:17.592612 [NOTICE] <transport>NORID-EC0.97-19ef-20170911080717-056870 IN <?xml version="1.0" encoding="UTF-8" standalone="no"?> <epp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:ietf:params:xml:ns:epp-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd"> <response> <result code="1000"> <msg>Command completed successfully</msg> </result> <msgQ count="7" id="435030380"/> <resData> <contact:infData xmlns="urn:ietf:params:xml:ns:contact-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd"> <contact:id>TR85R</contact:id> <contact:roid>TR85R-NORID</contact:roid> <contact:status s="ok"/> <contact:postalInfo type="loc"> <contact:name>Tech Role</contact:name> <contact:addr> <contact:street>Example building</contact:street> <contact:street>Example st. 23b</contact:street> <contact:street>5 etg</contact:street> <contact:city>Trondheim</contact:city> <contact:pc>NO-7005</contact:pc> <contact:cc>NO</contact:cc> </contact:addr> </contact:postalInfo> <contact:voice>+47.12345679</contact:voice> <contact:email>xml@example.no</contact:email> <contact:clID>reg9094</contact:clID> <contact:crID>reg9094</contact:crID> <contact:crDate>2017-09-11T08:03:45.74Z</contact:crDate> </contact:infData> </resData> <extension> <no-ext-contact:infData xmlns="http://www.norid.no/xsd/no-ext-contact-1.0" xmlns:no-ext-contact="http://www.norid.no/xsd/no-ext-contact-1.0" xsi:schemaLocation="http://www.norid.no/xsd/no-ext-contact-1.0 no-ext-contact-1.0.xsd"> <no-ext-contact:type>role</no-ext-contact:type> <no-ext-contact:mobilePhone>+47.12345678</no-ext-contact:mobilePhone> <no-ext-contact:email>xml-sec@example.no</no-ext-contact:email> </no-ext-contact:infData> </extension> <trID> <clTRID>NORID-EC0.97-19ef-20170911080717-056870</clTRID> <svTRID>20170911100717355937-usaxz9-reg9094-NORID</svTRID> </trID> </response> </epp> ---