Hello,

I'm developing custom OpenSRS client for out company. I'm testing the 
code right now, but I hit this problem I can't solve. Below I attach 
HASH and XML dump from the communication.

any comments welcome

thanks,
mayo


HASH (update cookie)

Array
(
    [action]            => update
    [object]            => cookie
    [cookie]            => 239048513:245913
    [attributes] => Array
        (
            [new_domain] => mycomsite2.com
            [domain] => mycomsite.com
        )
    [registrant_ip]     => 142.179.35.194
    [protocol]          => XCP
)


XML (auth, cooie update)

Reading Data:
---------------------------------
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope><header><version>0.9</version>
<msg_id>3.47937494031261</msg_id>
<msg_type>standard</msg_type>
</header>
<body>
<data_block>
<dt_assoc>
<item key="object">AUTHENTICATE</item>
<item key="response_text">Authentication Successful</item>
<item key="is_success">1</item>
<item key="response_code">200</item>
<item key="protocol">XCP</item>
<item key="action">REPLY</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>
---------------------------------
Sending Data:
---------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
 <header>
  <version>0.9</version>
  <msg_id>996</msg_id>
  <msg_type>standard</msg_type>
 </header>
 <body>
  <data_block>
   <dt_assoc>
    <item key="action">UPDATE</item>
    <item key="object">COOKIE</item>
    <item key="cookie">239048513:245913</item>
    <item key="attributes">
     <dt_assoc>
      <item key="new_domain">mycomsite2.com</item>
      <item key="domain">mycomsite.com</item>
     </dt_assoc>
    </item>
    <item key="registrant_ip">142.179.35.194</item>
    <item key="protocol">XCP</item>
   </dt_assoc>
  </data_block>
 </body>
</OPS_envelope>
---------------------------------
Reading Data:
---------------------------------
<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
<header>
<version>0.9</version>
<msg_id>5.47937494031261</msg_id>
<msg_type>standard</msg_type>
</header>
<body>
<data_block>
<dt_assoc>
<item key="is_success">0</item>
<item key="protocol">XCP</item>
<item key="_OPS_msg_type"></item>
<item key="object">UPDATE</item>
<item key="_OPS_msg_id"></item>
<item key="response_text">No Domain Supplied</item>
<item key="response_code">460</item>
<item key="action">REPLY</item>
</dt_assoc>
</data_block>
</body>
</OPS_envelope>


Reply via email to