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

From: Tom Sommer <ts_at_zitcom.dk>
Date: Mon, 3 Mar 2014 12:52:27 +0000

The 1.4 version listed on https://www.dk-hostmaster.dk/english/tech-notes/epp/

--
Tom Sommer
UnoEuro Webhosting
http://www.unoeuro.com
-----Original Message-----
From: Jonas B. Nielsen [mailto:jonasbn_at_dk-hostmaster.dk] 
Sent: 3. marts 2014 13:52
To: EPP-discuss_at_liste.dk-hostmaster.dk
Subject: Re: [EPP-discuss] Create Contact error; EPP documentation
Hi Tom,
I need to know what revision of the documentation your are referring to.
jonasbn
On 03/03/2014, at 13.33, Tom Sommer <ts_at_zitcom.dk> wrote:
> Yea ok, I was using the 1.0 namespace, not the 1.1.
> 
> Works now. Thanks :)
> 
> Please fix the documentation. 
> 
> --
> Tom Sommer
> UnoEuro Webhosting
> http://www.unoeuro.com
> 
> -----Original Message-----
> From: Peter Larsen [mailto:peter.larsen_at_larsendata.dk] 
> Sent: 3. marts 2014 13:31
> To: EPP-discuss_at_liste.dk-hostmaster.dk
> Subject: Re: [EPP-discuss] Create Contact error; EPP documentation
> 
> my template:
> 
>        <extension>
>                        {if $org == ""}
>                        <dkhm:userType xmlns:dkhm="urn:dkhm:params:xml:ns:dkhm-1.1">individual</dkhm:userType>
>                        {/if}
>                        {if $org != ""}
>                        <dkhm:userType xmlns:dkhm="urn:dkhm:params:xml:ns:dkhm-1.1">C</dkhm:userType>
>                        {/if}
>                        {if $org != ""}
>                        <dkhm:CVR xmlns:dkhm="urn:dkhm:params:xml:ns:dkhm-1.1">{$cvr}</dkhm:CVR>
>                        {/if}
>        </extension>
> 
> 
> 
> 
> 
> 
> 
> 
> my create works with this:
> 
> <?xml version="1.0"?>
>  <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-1.0.xsd">
> 
> 
>        <contact:id>auto</contact:id>
>        <contact:postalInfo type="loc">
> 
>          <contact:name>Larsen Data ApS</contact:name>
>          <contact:addr>
>            <contact:street>Flaesketorvet 68</contact:street>
>            <contact:city> Copenhagen V</contact:city>
>            <contact:sp></contact:sp>
>            <contact:pc>1711</contact:pc>
>            <contact:cc>DK</contact:cc>
>          </contact:addr>
>        </contact:postalInfo>
>        <contact:postalInfo type="int">
>          <contact:name>Larsen Data ApS</contact:name>
>          <contact:addr>
>            <contact:street>Flaesketorvet 68</contact:street>
>            <contact:city>Copenhagen V</contact:city>
>            <contact:sp></contact:sp>
>            <contact:pc>1711</contact:pc>
>            <contact:cc>DK</contact:cc>
>          </contact:addr>
>        </contact:postalInfo>
>        <contact:voice>+45.46903232</contact:voice>
>        <contact:fax></contact:fax>
>        <contact:email>peter.larsen_at_larsendata.dk</contact:email>
>        <contact:authInfo>
>          <contact:pw/>
>        </contact:authInfo>
>      </contact:create>
>    </create>
> 
>        <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">32160395</dkhm:CVR>
>                                                                                </extension>
> 
> 
>   <clTRID>aaebc6cffbcbf2efd668a8c3dd421c1dce940a83</clTRID> 
>  </command>
> </epp>
> 
> 
> 
> I do a sha1 of my clTRID, for some reason, might because otherwise it won't work....
> 
> 
> 
> 
> On 03 Mar 2014, at 13:20, Peter Larsen <peter.larsen_at_larsendata.dk> wrote:
> 
>> let me check my code.. I know it's not documented... why should it be that...
>> 
>> it MIGHT also just be your long clTRID... let me check
>> 
>> 
>> 
>> 
>> On 03 Mar 2014, at 13:18, Tom Sommer <ts_at_zitcom.dk> wrote:
>> 
>>> But it's an individual? Not a company?
>>> 
>>> --
>>> Tom Sommer
>>> UnoEuro Webhosting
>>> http://www.unoeuro.com
>>> 
>>> -----Original Message-----
>>> From: Peter Larsen [mailto:peter.larsen_at_larsendata.dk] 
>>> Sent: 3. marts 2014 13:17
>>> To: EPP-discuss_at_liste.dk-hostmaster.dk
>>> Subject: Re: [EPP-discuss] Create Contact error; EPP documentation
>>> 
>>> you need to include the number... ?
>>> 
>>> 
>>> On 03 Mar 2014, at 13:15, Tom Sommer <ts_at_zitcom.dk> wrote:
>>> 
>>>> <extension>
>>>>   <dkhm:userType xmlns:dkhm="urn:dkhm:params:xml:ns:dkhm-1.0">I</dkhm:userType>
>>>> </extension>
>>>> 
>>>> Doesn't work either. Same error.
>>>> 
>>>> Med venlig hilsen | Best regards
>>>> Tom Sommer
>>>> Senior System Engineer & Developer
>>>> Zitcom A/S
>>>> 
>>>> Telefon: 70 40 00 00        E-mail: kontakt_at_zitcom.dk
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> -----Original Message-----
>>>> From: Peter Larsen [mailto:peter.larsen_at_larsendata.dk] 
>>>> Sent: 3. marts 2014 13:14
>>>> To: EPP-discuss_at_liste.dk-hostmaster.dk
>>>> Subject: Re: [EPP-discuss] Create Contact error; EPP documentation
>>>> 
>>>>     <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
>>>> 
>>>> 
>>> 
>>> regards, Peter Larsen - ICANN Accredited registrar
>>> 
>>> My info: http://larsen.tel
>>> Company info: http://larsendata.tel
>>> 
>>> 
>> 
>> regards, Peter Larsen - ICANN Accredited registrar
>> 
>> My info: http://larsen.tel
>> Company info: http://larsendata.tel
>> 
> 
> regards, Peter Larsen - ICANN Accredited registrar
> 
> My info: http://larsen.tel
> Company info: http://larsendata.tel
> 
> 
--
Med venlig hilsen/Best Regards
Jonas B. Nielsen	
Software udvikler/Softwaredeveloper
Kalvebod Brygge 45, 3. sal
1560 København V
Tlf.      +45 33 64 60 60
Mobil:   +45 31 54 60 56
Fax.:     +45 33 64 60 66
Email:    jonasbn_at_dk-hostmaster.dk
Homepage: https://www.dk-hostmaster.dk
.dk Danmarks plads på Internettet
-------------------------------------------------------------------------
Dette er en e-mail fra DK Hostmaster A/S. Denne e-mail kan indeholde
fortrolig information, som kun er til brug for den tiltænkte modtager.
Hvis du ved en fejl har modtaget denne e-mail, bedes du venligst straks
give afsenderen besked om dette og slette e-mailen fra dit system uden
at offentliggøre, videresende eller tage kopi af meddelelsen.
This is an email from DK Hostmaster A/S. This message may contain
confidential information and is intended solely for the use of the
intended addressee. If you are not the intended addressee please notify
the sender immediately and delete this e-mail from your system. You are
not permitted to disclose, distribute or copy the information in this
e-mail.
--------------------------------------------------------------------------
Received on Mon Mar 03 2014 - 13:52:27 CET

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