Re: sw_register XML sample?

From: klaus rubba (klaus_rubba@hotmail.com)
Date: Thu Jan 24 2002 - 11:31:14 EST


Does it really matter? Domain lookups works fine with or without the 'www.'
prefix. I tried changing it to 'cheesyshirts.com', but i still get the same
result: the server just closes the socket on me.

>From: Mark J Elkins <mje@posix.co.za>
>To: klaus rubba <klaus_rubba@hotmail.com>
>Subject: Re: sw_register XML sample?
>Date: Thu, 24 Jan 2002 08:48:44 +0200 (SAST)
>
>On Wed, 23 Jan 2002, klaus rubba wrote:
>
> > BTW, I noticed I was missing the last couple of attributes in the
>request,
> > so i patched them in, but it still failed. Same XML as before, just
>stuff
> > this XML chunk in with the attributes:
> >
> > <item key="auto_renew">0</item>
> > <item key="handle">process</item>
> > <item key="email_bundle">0</item>
> >
> > Thanks!
> >
> > Klaus
>
>
>Um Klaus - what are you trying to register?
>
><item key="domain">www.cheesyshirts.com</item> ???
>
>The domain 'www.cheesyshirts.com' or the domain 'cheesyshirts.com' ??
>
>
> >
> >
> > >From: "klaus rubba" <klaus_rubba@hotmail.com>
> > >To: dev-list@opensrs.org
> > >Subject: sw_register XML sample?
> > >Date: Wed, 23 Jan 2002 16:05:45 -0800
> > >
> > >I've got authentication and domain lookup working, but now i'm stuck on
> > >domain registration. I found an old XML example of this function in the
> > >archives, but it used the 'register' command, and mine matched it
>pretty
> > >closely.
> > >
> > >Can anybody send an XML doc of a successfull domain registration?
> > >
> > >In case anyone is bored, here is my unsuccessfull attempt:
> > >
> > >
> > ><?xml version="1.0" encoding="UTF-8" standalone="no" ?>
> > ><!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
> > ><OPS_envelope>
> > > <header>
> > > <version>0.9</version>
> > > <msg_id>999</msg_id>
> > > <msg_type>standard</msg_type>
> > > </header>
> > > <body>
> > > <data_block>
> > > <dt_assoc>
> > > <item key="protocol">XCP</item>
> > > <item key="action">SW_REGISTER</item>
> > > <item key="object">DOMAIN</item>
> > > <item key="attributes">
> > > <dt_assoc>
> > > <item key="domain">www.cheesyshirts.com</item>
> > > <item key="reg_type">new</item>
> > > <item key="reg_username">frank</item>
> > > <item key="reg_password">paswd123</item>
> > > <item key="custom_nameservers">0</item>
> > > <item key="affiliate_id">54321</item>
> > > <item key="period">2</item>
> > > <item key="bulk_order">0</item>
> > > <item key="custom_tech_contact">0</item>
> > > <item key="link_domains">0</item>
> > > <item key="contact_set">
> > > <dt_assoc>
> > > <item key="billing">
> > > <dt_assoc>
> > > <item key="first_name">frank</item>
> > > <item key="last_name">sinatra</item>
> > > <item key="org_name">orchestra</item>
> > > <item key="address1">ny ny</item>
> > > <item key="city">ny</item>
> > > <item key="country">usa</item>
> > > <item key="Email">franky@hotmail.com</item>
> > > <item key="phone">800-555-1234</item>
> > > </dt_assoc>
> > > </item>
> > > <item key="admin">
> > > <dt_assoc>
> > > <item key="first_name">frank</item>
> > > <item key="last_name">sinatra</item>
> > > <item key="org_name">orchestra</item>
> > > <item key="address1">ny ny</item>
> > > <item key="city">ny</item>
> > > <item key="country">usa</item>
> > > <item key="Email">franky@hotmail.com</item>
> > > <item key="phone">800-555-1234</item>
> > > </dt_assoc>
> > > </item>
> > > <item key="owner">
> > > <dt_assoc>
> > > <item key="first_name">frank</item>
> > > <item key="last_name">sinatra</item>
> > > <item key="org_name">orchestra</item>
> > > <item key="address1">ny ny</item>
> > > <item key="city">ny</item>
> > > <item key="country">usa</item>
> > > <item key="Email">franky@hotmail.com</item>
> > > <item key="phone">800-555-1234</item>
> > > </dt_assoc>
> > > </item>
> > > </dt_assoc>
> > > </item>
> > > <item key="nameserver_list">
> > > <dt_array>
> > > <item key="0">
> > > <dt_assoc>
> > > <item key="name">ns1.domaindirect.com</item>
> > > <item key="sortorder">1</item>
> > > </dt_assoc>
> > > </item>
> > > <item key="1">
> > > <dt_assoc>
> > > <item key="name">ns2.domaindirect.com</item>
> > > <item key="sortorder">2</item>
> > > </dt_assoc>
> > > </item>
> > > </dt_array>
> > > </item>
> > > </dt_assoc>
> > > </item>
> > > </dt_assoc>
> > > </data_block>
> > > </body>
> > ></OPS_envelope>
> > >
> > >
> > >_________________________________________________________________
> > >Join the world’s largest e-mail service with MSN Hotmail.
> > >http://www.hotmail.com
> > >
> >
> >
> >
> >
> > _________________________________________________________________
> > Chat with friends online, try MSN Messenger: http://messenger.msn.com
> >
>
>--
> . . ___. .__ Posix Systems - Sth Africa
> /| /| / /__ mje@posix.co.za - Mark J Elkins, SCO ACE, Cisco
>CCIE
>/ |/ |ARK \_/ /__ LKINS Tel: +27 12 807 0590 Cell: +27 82 601 0496
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:36:56 EDT