I'm trying to modify name servers for a domain, and I get the following 
error:

"Invalid Command: modify"

I'm fairly certain i've got the XML request just as 8.10 of protocol spec 
required. What am I missing?

Thanks,

Klaus

<?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="attributes">
    <dt_assoc>
     <item key="data">name_server_list</item>
     <item key="nameserver_list">
      <dt_array>
      <item key="0">
       <dt_assoc>
        <item key="name">blah1.nameserver.com</item>
        <item key="sortorder">1</item>
        <item key="action">update</item>
       </dt_assoc>
      </item>
      <item key="1">
       <dt_assoc>
        <item key="name">blah2.nameserver.com</item>
        <item key="sortorder">2</item>
        <item key="action">update</item>
       </dt_assoc>
      </item>
     </dt_array>
    </item>
   </dt_assoc>
  </item>
  <item key="protocol">XCP</item>
  <item key="action">MODIFY</item>
  <item key="object">DOMAIN</item>
  <item key="cookie">959378179:305835</item>
  <item key="registrant_ip">127.0.0.1</item>
  </dt_assoc>
</data_block>
</body>
</OPS_envelope>

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

Reply via email to