The one thing that seems to be immediately problematic with the xml being sent is the pressence of the:
<item key="f_lock_domain">no</item> within the contact_set hash. That should instead be in the main 'attributes' hash. Mark. On Wed, 22 Oct 2003, WebWiz wrote: > Date: Wed, 22 Oct 2003 17:15:07 -0400 > From: WebWiz <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: OpenSRS-SF Failures > > Hi folks, > > We're still trying to resolve the problems with OpenSRS-SF V1.58 (it > won't register new domains since the September update on the server > side). I honestly don't want to upgrade, since I've made lots of > enhancements to the code and it works well for us (nearly all of the > enhancements were done via hooks, but still...) > > Can somebody who understands the API better than me take a look at this > XML and see if anything jumps out at you? This has been sanitized, but > the "character" of the data has not been changed, so anything > data-specific should still be in there. (This is the output from the > DEBUG setting in the client code). > > -- > > Regards, > Eric Longman > Atl-Connect Internet Services > > +----------------------------------------------------------+ > | Atl-Connect Internet Services http://www.atlcon.net | > | 3600 Dallas Hwy Ste 230 PMB288 770 590-0888 | > | Marietta, GA 30064-1685 [EMAIL PROTECTED] | > +----------------------------------------------------------+ > > > DEBUG OUTPUT: > > READ: > action ==> CHECK > attributes ==> { > sender ==> OpenSRS SERVER > state ==> ready > version ==> XML:0.1 > } > object ==> VERSION > protocol ==> XCP > SENT: > <?xml version='1.0' encoding="UTF-8" standalone="no" ?> > <!DOCTYPE OPS_envelope SYSTEM "ops.dtd"> > <OPS_envelope> > <header> > <version>0.9</version> > </header> > <body> > <data_block> > <dt_assoc> > <item key="object">VERSION</item> > <item key="attributes"> > <dt_assoc> > <item key="state">ready</item> > <item key="version">XML:SF-1.58</item> > <item key="sender">OpenSRS CLIENT</item> > </dt_assoc> > </item> > <item key="protocol">XCP</item> > <item key="action">CHECK</item> > </dt_assoc> > </data_block> > </body> > </OPS_envelope> > SENT: > <?xml version='1.0' encoding="UTF-8" standalone="no" ?> > <!DOCTYPE OPS_envelope SYSTEM "ops.dtd"> > <OPS_envelope> > <header> > <version>0.9</version> > </header> > <body> > <data_block> > <dt_assoc> > <item key="object">USER</item> > <item key="attributes"> > <dt_assoc> > <item key="username">myusername</item> > <item key="password">myusername</item> > <item key="crypt_type">Blowfish</item> > </dt_assoc> > </item> > <item key="protocol">XCP</item> > <item key="action">AUTHENTICATE</item> > </dt_assoc> > </data_block> > </body> > </OPS_envelope> > READ: > <removed; binary data> > SENT: > <removed; binary data> > READ: > action ==> REPLY > is_success ==> 1 > object ==> AUTHENTICATE > protocol ==> XCP > response_code ==> 200 > response_text ==> Authentication Successful > SENT: > <?xml version='1.0' encoding="UTF-8" standalone="no" ?> > <!DOCTYPE OPS_envelope SYSTEM "ops.dtd"> > <OPS_envelope> > <header> > <version>0.9</version> > </header> > <body> > <data_block> > <dt_assoc> > <item key="object">DOMAIN</item> > <item key="attributes"> > <dt_assoc> > <item key="auto_renew">0</item> > <item key="link_domains">0</item> > <item key="isa_trademark">0</item> > <item key="custom_tech_contact">1</item> > <item key="prereg">0</item> > <item key="contact_set"> > <dt_assoc> > <item key="tech"> > <dt_assoc> > <item key="state">AL</item> > <item key="first_name">John</item> > <item key="country">US</item> > <item key="address1">123 Main Street</item> > <item key="last_name">Doe</item> > <item key="address2">Suite A</item> > <item key="postal_code">12345</item> > <item key="city">Anytown</item> > <item key="phone">+1.7701237676</item> > <item key="email">[EMAIL PROTECTED]</item> > <item key="org_name">Some Sample Company, Inc.</item> > </dt_assoc> > </item> > <item key="admin"> > <dt_assoc> > <item key="state">AL</item> > <item key="first_name">John</item> > <item key="country">US</item> > <item key="address1">123 Main Street</item> > <item key="last_name">Doe</item> > <item key="address2">Suite A</item> > <item key="postal_code">12345</item> > <item key="city">Anytown</item> > <item key="phone">+1.7701237676</item> > <item key="email">[EMAIL PROTECTED]</item> > <item key="org_name">Some Sample Company, Inc.</item> > </dt_assoc> > </item> > <item key="f_lock_domain">no</item> > <item key="billing"> > <dt_assoc> > <item key="state">AL</item> > <item key="first_name">John</item> > <item key="country">US</item> > <item key="address1">123 Main Street</item> > <item key="last_name">Doe</item> > <item key="address2">Suite A</item> > <item key="postal_code">12345</item> > <item key="city">Anytown</item> > <item key="phone">+1.7701237676</item> > <item key="email">[EMAIL PROTECTED]</item> > <item key="org_name">Some Sample Company, Inc.</item> > </dt_assoc> > </item> > <item key="owner"> > <dt_assoc> > <item key="state">AL</item> > <item key="first_name">John</item> > <item key="country">US</item> > <item key="address1">123 Main Street</item> > <item key="last_name">Doe</item> > <item key="address2">Suite A</item> > <item key="postal_code">12345</item> > <item key="city">Anytown</item> > <item key="phone">+1.7701237676</item> > <item key="email">[EMAIL PROTECTED]</item> > <item key="org_name">Some Sample Company, Inc.</item> > </dt_assoc> > </item> > </dt_assoc> > </item> > <item key="reg_domain">previousdomain.com</item> > <item key="domain">somesampledomain.com</item> > <item key="affiliate_id">affiliatecode</item> > <item key="reg_type">new</item> > <item key="reg_username">custusername</item> > <item key="period">1</item> > <item key="bulk_order">0</item> > <item key="use_default_nameservers">0</item> > <item key="nameserver_list"> > <dt_array> > <item key="0"> > <dt_assoc> > <item key="sortorder">1</item> > <item key="name">ns1.hostingcompany.com</item> > </dt_assoc> > </item> > <item key="1"> > <dt_assoc> > <item key="sortorder">2</item> > <item key="name">ns2.hostingcompany.com</item> > </dt_assoc> > </item> > </dt_array> > </item> > <item key="email_bundle">0</item> > <item key="reg_password">XXXXXX</item> > <item key="custom_nameservers">1</item> > </dt_assoc> > </item> > <item key="protocol">XCP</item> > <item key="action">SW_REGISTER</item> > </dt_assoc> > </data_block> > </body> > </OPS_envelope> > READ: > action ==> REPLY > is_success ==> 0 > object ==> DOMAIN > protocol ==> XCP > response_code ==> 465 > response_text ==> Data conversion error. Check the command > 'sw_register' syntax > > >
