Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

Moving to standard epp...

Status
Not open for further replies.

js1

Joined
Jan 3, 2011
Posts
387
Reaction score
9
Be greatful if anyone could shed some light, on this...

So I moving my software over to epp standard, added the new log in and that works fine.

Added the a new create template, but it seems you have to leave in both the authInfo and password even if the password is blank or it returns a xml syntax error result code="2001"

Code:
<domain:authInfo>
   <domain:pw></domain:pw>
</domain:authInfo>

Got it working keeping the above code but after a sending a successful create, it shows a warning in the response from Nominet (registered the name fine).

Code:
<warning:ignored-field field-name="domain:authInfo" xmlns:warning="http://www.nominet.org.uk/epp/xml/std-warning-1.1" xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/std-warning-1.1 std-warning-1.1.xsd"> Field 'authInfo' found; this field has been ignored.</warning:ignored-field>
 
I just put authInfo inside the tags.

If you dont include the tags it fails or if you leave them empty you get an error.

Hi Steven,

Many thanks for you reply, its the responce after a sucessful create i dont get

Code:
<warning:ignored-field field-name="domain:authInfo" xmlns:warning="http://www.nominet.org.uk/epp/xml/std-warning-1.1" xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/std-warning-1.1 std-warning-1.1.xsd"> Field 'authInfo' found; this field has been ignored.</warning:ignored-field>
 
Just one of those "funnies" :) Nominet couldn't give any explanation other than it has to be there when I queried this a while back.

Cheers Alex for your reply...

Well it is funny then...

You don’t use it - but if you remove it - its doesn’t work - then it tells you there a warning that there’s something wrong.

Got it :D
 
My script (only use it on my delay quota) uses

<create>
<domain:create
xmlns:domain=\"urn:ietf:params:xml:ns:domain-1.0\"
xsi:schemaLocation=\"urn:ietf:params:xml:ns:domain-1.0
domain-1.0.xsd\">
<domain:name>$domain</domain:name>
<domain:period unit=\"y\">$len</domain:period>");
<domain:ns>");
<domain:hostObj>$nameserver1</domain:hostObj>
<domain:hostObj>$nameserver2</domain:hostObj>
</domain:ns>");
<domain:registrant>$reg_if</domain:registrant>
<domain:authInfo>
<domain:pw>authinfo</domain:pw>
</domain:authInfo>");
</domain:create></create>
<clTRID>steven-ao</clTRID>
</command>

I don't get any errors at all, I only get errors if I leave the authInfo empty or if I don't include it at all.

I'll print_r my whole response incase I missed an error, but when testing I didn't notice any.
 
Status
Not open for further replies.

Rule #1: Be Respectful

Do not insult any other member. Be polite and do business. Thank you!

Members online

No members online now.

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom