Hi there,
I'm working on writing my own client trying to communicate directly with
opensrs servers. The handshake seems to start off ok, i get their CHECK
message, send my CHECK message, send my AUTHENTICATION message, and then get
nothing from the server when I should be getting the random bits for a
checksum.
I'll include the raw XML that I am sending to the server. Anybod see some
obvious problems with it?
Thanks!
Klaus
CHECK MESSAGE:
Content-Length: 957
<?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">
CHECK
</item>
<item key="object">
VERSION
</item>
<item key="attributes">
<dt_assoc>
<item key="state">
ready
</item>
<item key="sender">
OpenSRS CLIENT
</item>
<item key="version">
XML:0.1
</item>
</dt_assoc>
</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
AUTHENTICATE MESSAGE
Content-Length: 967
<?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">
authenticate
</item>
<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>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:36:56 EDT