Christina and I have been working together on this... it was a little like
finding a needle in a haystack, but it turns out that the key nameserver_list
was missing a terminating double quote. I guess that made it a little like
finding a double quote in a haystack... ;)
Dan
Christina Louise Warne wrote:
> Hi all,
>
> Anyone out there developed there own API in a language other than Perl and
> got it working? If so HELP!!!!!!! Please.....
>
> I'm developing an OpenSRS component using Delphi 5, some of you may have
> seen my comments about the Perl encryption routines and the problems I was
> having.... well, I've got them sorted (anyone want the info on what the perl
> libraries do to encryption keys and other stuff, let me know, its all in a
> document).
>
> I can now log on, authenticate, lookup domains and log off. I'm trying to
> do the fun stuff and register a domain, problem is, I'm not getting any
> sense from the server. I'm building the XML data packet and encrypting it
> accordingly and squirting this across the web to the horizon test bed
> server, which promptly disconnects me with no response.
>
> I've emailed this problem to OpenSRS support, and they've said its outside
> their scope, but they did suggest I email it here, so you guys can have a
> nose at the data packet and maybe spot something I've missed completely. So
> here it is:
>
> <?xml version='1.0' encoding="UTF-8" standalone="no" ?>
> <!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
> <OPS_envelope>
> <header>
> <version>0.9</version>
> <msg_id>36809.00000000000017130890</msg_id>
> <msg_type>standard</msg_type>
> </header>
> <body>
> <data_block>
> <dt_assoc>
> <item key="protocol">XCP</item>
> <item key="action">register</item>
> <item key="object">domain</item>
> <item key="attributes">
> <dt_assoc>
> <item key="domain">rottingflesh.com</item>
>
> <item key="reg_username">zombienation</item>
> <item key="reg_password">zombienation</item>
> <item key="period">2</item>
> <item key="contact_set">
> <dt_assoc>
> <item key="owner">
> <dt_assoc>
> <item key="first_name">Zombie</item>
> <item key="last_name">One</item>
> <item key="org_name">Zombie Support Group</item>
> <item key="address1">Address Line 1</item>
> <item key="address2">Address Line 2</item>
> <item key="address3">Address Line 3</item>
> <item key="city">Gloucester</item>
> <item key="state">Gloucestershire</item>
> <item key="country">GB</item>
> <item key="postal_code">GL1 666</item>
> <item key="phone">01452-111666</item>
> <item key="fax">01452-111667</item>
> <item key="email">zombie.one@rottingflesh.com</item>
> <item key="url">http://www.rottingflesh.com>
> </dt_assoc>
> </item>
>
> <item key="admin">
> <dt_assoc>
> <item key="first_name">Zombie</item>
> <item key="last_name">Two</item>
> <item key="org_name">Zombie Support Group</item>
> <item key="address1">Address 2 Line 1</item>
> <item key="address2">Address 2 Line 2</item>
> <item key="address3">Address 2 Line 3</item>
> <item key="city">Gloucester</item>
> <item key="state">Gloucestershire</item>
> <item key="country">GB</item>
> <item key="postal_code">GL1 667</item>
> <item key="phone">01452-111667</item>
> <item key="fax">01452-111668</item>
> <item key="email">zombie.two@rottingflesh.com</item>
> <item key="url">http://www.rottingflesh.com>
> </dt_assoc>
> </item>
>
> <item key="tech">
> <dt_assoc>
> <item key="first_name">Zombie</item>
> <item key="last_name">Four</item>
> <item key="org_name">Zombie Support Group</item>
> <item key="address1">Address 4 Line 1</item>
> <item key="address2">Address 4 Line 2</item>
> <item key="address3">Address 4 Line 3</item>
> <item key="city">Gloucester</item>
> <item key="state">Gloucestershire</item>
> <item key="country">GB</item>
> <item key="postal_code">GL1 669</item>
> <item key="phone">01452-111669</item>
> <item key="fax">01452-111670</item>
> <item key="email">zombie.four@rottingflesh.com</item>
> <item key="url">http://www.rottingflesh.com>
> </dt_assoc>
> </item>
>
> <item key="billing">
> <dt_assoc>
> <item key="first_name">Zombie</item>
> <item key="last_name">Three</item>
> <item key="org_name">Zombie Support Group</item>
> <item key="address1">Address 3 Line 1</item>
> <item key="address2">Address 3 Line 2</item>
> <item key="address3">Address 3 Line 3</item>
> <item key="city">Gloucester</item>
> <item key="state">Gloucestershire</item>
> <item key="country">GB</item>
> <item key="postal_code">GL1 668</item>
> <item key="phone">01452-111668</item>
> <item key="fax">01452-111669</item>
> <item key="email">zombie.three@rottingflesh.com</item>
> <item key="url">http://www.rottingflesh.com>
> </dt_assoc>
> </item>
>
> </dt_assoc>
> </item>
> <item key="nameserver_list>
> <dt_array>
> <item key="0">
> <dt_assoc>
> <item key="name">ns1.ex.com</item>
> <item key="sortorder">1</item>
> </dt_assoc>
> </item>
> <item key="1">
> <dt_assoc>
> <item key="name">ns2.ex.com</item>
> <item key="sortorder">2</item>
> </dt_assoc>
> </item>
> </dt_array>
> </item>
> </dt_assoc>
> </item>
> </dt_assoc>
> </data_block>
> </body>
> </OPS_envelope>
>
> Hopefully, one of you will spot the problem :-)
>
> Christina Louise Warne
> ----------------------
>
> Fasthosts Internet Ltd
> Suite 7
> Discovery Court
> 154 Southgate Street
> Gloucester
> GL1 2EX
>
> WWW: http://www.fasthosts.co.uk
> EMail: christina.warne@fasthosts.co.uk
This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:58 EDT