Re: [EPP-discuss] Create Contact error; EPP documentation

From: Peter Larsen <peter.larsen_at_larsendata.dk>
Date: Mon, 3 Mar 2014 13:13:36 +0100

        <extension>
                                                                        <dkhm:userType xmlns:dkhm="urn:dkhm:params:xml:ns:dkhm-1.1">C</dkhm:userType>
                                                                        <dkhm:CVR xmlns:dkhm="urn:dkhm:params:xml:ns:dkhm-1.1">XXXXXXXX</dkhm:CVR>
                                                                                </extension>

XXXXXXXX = 8 digits


use your imagination on the 3 other types

:P



On 03 Mar 2014, at 13:07, Tom Sommer <ts_at_zitcom.dk> wrote:

> So I finally decided to have a look at the EPP system.
>
> I get the error
>
> XSD Validation failed Element &apos;{urn:dkhm:params:xml:ns:dkhm-1.0}userType&apos;: No matching global element declaration available, but demanded by the strict wildcard.
>
> When trying to create a contact. I followed the documentation:
>
> <?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">
> <command>
> <create>
> <contact:create xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0">
> <contact:id>auto</contact:id>
> <contact:postalInfo type="loc">
> <contact:name>XXXX</contact:name>
> <contact:addr>
> <contact:street>XXXX</contact:street>
> <contact:city>XXX</contact:city>
> <contact:pc>XXXX</contact:pc>
> <contact:cc>XXXX</contact:cc>
> </contact:addr>
> </contact:postalInfo>
> <contact:voiceXXXX</contact:voice>
> <contact:email>XXXXX</contact:email>
> <contact:authInfo>
> <contact:pw />
> </contact:authInfo>
> <contact:disclose flag="0">
> <contact:voice />
> <contact:email />
> </contact:disclose>
> </contact:create>
> </create>
> <extension>
> <dkhm:userType xmlns:dkhm="urn:dkhm:params:xml:ns:dkhm-1.0">individual</dkhm:userType>
> </extension>
> <clTRID>UNOEURO-EPP-20140303T125603-53146dd3815f1</clTRID>
> </command>
> </epp>
>
> So either I missed something or the documentation is not up to date. Any hints?
>
> Oh, and I love all the “Internal error” messages, so very helpful an error message if I ever saw one.
> Also nice that you cannot do <contact:voice x=’’> which basically fucks up the parser … *shrug*
>
> Thanks
> --
> Tom Sommer
> UnoEuro Webhosting
> http://www.unoeuro.com

regards, Peter Larsen - ICANN Accredited registrar

My info: http://larsen.tel
Company info: http://larsendata.tel


Received on Mon Mar 03 2014 - 13:13:36 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 06 2015 - 11:39:23 CET