Interesting, I found that the '<' character before OPS_envelope was not exactly a less than sign. When I viewed the message within the Visual Studio IDE, it looked close to a < but two pixels were off. Copying the message to a text file (or email) revealed the question mark. I fixed this weird character in my XML message, but am still receiving the same error message.


Here is the lookup without the question mark, again it still returns a 505, Unrecognized Message Format:�


<?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">crazyprogrammersunite.com</item>�
� </dt_assoc>�
� </item>�
� </dt_assoc>�
� </data_block>�
�</body>�
</OPS_envelope>�


Isaac�


-----Original Message-----�
From: Colin Viebrock <[EMAIL PROTECTED]>�
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Mon, 18 Aug 2003 13:55:56 -0400�
Subject: Re: Authenticated but messages unrecognized with custom client�

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>��
��
��
��
That stray question mark at the beginning of line 3 is probably at fault.��
��
��
- Colin��
��
��




Reply via email to