Hello,

I am able to connect to Horizon and successfully authenticate myself to the server. After it returns the success message, I try to send a domain lookup message or a sw_register message. Both return a 505 "unrecognized message format". I even tried copying two XML examples and sending those to the server (encrypted of course), both return the 505 message.

My component is written in C# and I've tried setting the formatting to both ASCII and UTF-8, both allow me to successfully authenticate myself but both cause a 505 message to be returned.

Here is what I send for the lookup:

<?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="action">LOOKUP</item>
       <item key="protocol">XCP</item>
       <item key="object">DOMAIN</item>
       <item key="registrant_ip">10.0.0.5</item>
       <item key="attributes">
         <dt_assoc>
           <item key="domain">binaryisexciting.com</item>
         </dt_assoc>
       </item>
     </dt_assoc>
   </data_block>
 </body>
</OPS_envelope>

And what I receive in response:

<?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="response_text">Unrecognized message format</item>
   <item key="is_success">0</item>
   <item key="response_code">505</item>
   <item key="protocol">XCP</item>
   <item key="action">REPLY</item>
  </dt_assoc>
 </data_block>
</body>
</OPS_envelope>



Any ideas are greatly appreciated.

Thanks,
Isaac Hall

Reply via email to