Transaction 6 - Lock request
This is the first transaction that uses a token from a previous login. Acquires alock on the information from the syncmgmt server.
iSync Request
<?xml version="1.0" encoding="UTF-8"?> <request version="1.0" id="A"> <transaction type="authorization" version="1" id="1778343198"> <object entityname=".mac"> <attribute name="username" value="jebeke" /> <attribute name="type" value="token" /> <attribute name="token" value="[removed for brevity]" /> </object> </transaction> <transaction type="lockacquire" version="1" id="1778343199"> <object entityid="11" resourceguid="F0BD5A18-00F1-1000-835D-00039388919E"> <attribute name="type" value="write" /> <attribute name="duration" value="10" /> <attribute name="lockid" value="796505946" /> </object> </transaction> <transaction type="select" version="1" id="1778343200"> <object entityid="11" resourceguid="F0BD5A18-00F1-1000-835D-00039388919E"> <attribute name="f1lang" value="0" /> <attribute name="info" value="dc" /> </object> </transaction> </request>
Apple Response
<response version="1.0" id="A"> <transaction type="authorization" version="1.0" id="1778343198"> <object entityid="100" entitytype="7" entityname=".mac" resourceid="2667495" resourceguid="269548F8-00F0-1000-8981-00039388919E"> </object> <result> <attribute name="resultcode" value="0" /> <attribute name="resulttext" value="success" /> </result> </transaction> <transaction type="lockacquire" version="1.0" id="1778343199"> <object entityid="11" entityname="macintosh" resourceguid="F0BD5A18-00F1-1000-835D-00039388919E"> <attribute name="sessionkey" value="58363544b9beb9a2eb5c3bc077adf05a" /> <attribute name="locktoken" value="[removed for brevity]" /> </object> <result> <attribute name="resultcode" value="0" /> <attribute name="resulttext" value="success" /> </result> </transaction> <transaction type="select" version="1.0" id="1778343200"> <object entityid="11" entitytype="1" entityname="macintosh" resourceid="53255" resourceguid="F0BD5A18-00F1-1000-835D-00039388919E"> <attribute name="storageconsumed" value="0" /> </object> <result> <attribute name="resultcode" value="0" /> <attribute name="resulttext" value="success" /> </result> </transaction> </response>
All of the XML has been formated for easy reading. The actual conversation had no line breaks in them. I also removed some long attributes and confidential data.