Transaction 4 - Status information and messages
This transaction again logs in instead of using the token. It gets information about my .Mac account and the data about my registered host.
iSync Request
<?xml version="1.0" encoding="UTF-8"?> <request version="1.0" id="A"> <transaction type="authorization" version="1" id="1778343193"> <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="1778343194"> <object entityname=".mac"> <attribute name="info" value="general" /> </object> </transaction> <transaction type="select" version="1" id="1778343195"> <object entityid="11" resourceguid="F0BD5A18-00F1-1000-835D-00039388919E"> <attribute name="f1lang" value="0" /> <attribute name="info" value="general|dc" /> </object> </transaction> <transaction type="checksystemmsgs" version="1" id="1778343196"> <object entityid="11" resourceguid="F0BD5A18-00F1-1000-835D-00039388919E"> <attribute name="build" value="2040" /> </object> </transaction> <transaction type="checkusermsgs" version="1" id="1778343197"> <object entityid="11" resourceguid="F0BD5A18-00F1-1000-835D-00039388919E"> <attribute name="build" value="2040" /> </object> </transaction> </request>
Apple Response
<response version="1.0" id="A"> <transaction type="authorization" version="1.0" id="1778343193"> <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="1778343194"> <object entityid="100" entitytype="7" entityname=".mac" resourceid="2667495" resourceguid="269548F8-00F0-1000-8981-00039388919E"> <attribute name="username" value="jebeke" /> <attribute name="entityname" value=".mac" /> <attribute name="resourceguid" value="269548F8-00F0-1000-8981-00039388919E" /> <attribute name="resourceid" value="2667495" /> <attribute name="status" value="1" /> <attribute name="firstname" value="Jeremy" /> <attribute name="lastname" value="Beker" /> <attribute name="email" value="jebeke@mac.com" /> <attribute name="createdate" value="2002 10 29, 09:20:47 GMT" /> <attribute name="timezoneid" value="0" /> <attribute name="languageid" value="en" /> <attribute name="planid" value="1" /> </object> <result> <attribute name="resultcode" value="0" /> <attribute name="resulttext" value="success" /> </result> </transaction> <transaction type="select" version="1.0" id="1778343195"> <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="build" value="2040" /> <attribute name="status" value="0" /> <attribute name="createdate" value="2002 10 29, 09:20:52 GMT" /> <attribute name="umi" value="0" /> <attribute name="alias" value="macintosh" /> <attribute name="storageconsumed" value="0" /> </object> <result> <attribute name="resultcode" value="0" /> <attribute name="resulttext" value="success" /> </result> </transaction> <transaction type="checksystemmsgs" version="1.0" id="1778343196"> <object entityid="11" resourceguid="F0BD5A18-00F1-1000-835D-00039388919E"> <attribute name="hostname" value="sync-mgmt04" /> <attribute name="timestamp" value="2002 10 29, 09:27:05 GMT" /> </object> <result> <attribute name="resultcode" value="0" /> <attribute name="resulttext" value="success" /> </result> </transaction> <transaction type="checkusermsgs" version="1.0" id="1778343197"> <object entityid="11" entityname="macintosh" resourceguid="F0BD5A18-00F1-1000-835D-00039388919E"> </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.