Transaction 3 - Select Host
This transaction again logs in instead of using the token. It appears to select my host as the active host.
iSync Request
<?xml version="1.0" encoding="UTF-8"?> <request version="1.0" id="A"> <transaction type="authorization" version="1" id="515174102"> <object entityname=".mac"> <attribute name="type" value="basic" /> <attribute name="password" value="" /> <attribute name="username" value="" /> <attribute name="newtoken" value="1" /> </object> </transaction> <transaction type="select" version="1" id="515174103"> <object entityname=".mac"> <attribute name="info" value="devices" /> </object> </transaction> </request>
Apple Response
<response version="1.0" id="A"> <transaction type="authorization" version="1.0" id="515174102"> <object entityid="100" entitytype="7" entityname=".mac" resourceid="2667495" resourceguid="269548F8-00F0-1000-8981-00039388919E"> <attribute name="token" value="" /> </object> <result> <attribute name="resultcode" value="0" /> <attribute name="resulttext" value="success" /> </result> </transaction> <transaction type="select" version="1.0" id="515174103"> <object entityid="100" entitytype="7" entityname=".mac" resourceid="2667495" resourceguid="269548F8-00F0-1000-8981-00039388919E"> <object entityid="11" entitytype="1" entityname="macintosh" resourceid="53255" resourceguid="F0BD5A18-00F1-1000-835D-00039388919E"> <attribute name="entityid" value="11" /> <attribute name="resourceid" value="53255" /> <attribute name="resourceguid" value="F0BD5A18-00F1-1000-835D-00039388919E" /> <attribute name="parentid" value="0" /> <attribute name="inservice" value="0" /> <attribute name="name" value="zippy.confusticate.com" /> <attribute name="status" value="0" /> <attribute name="createdate" value="2002 10 29, 09:20:52 GMT" /> <attribute name="umi" value="0" /> </object> </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.