[sync] client doesnt add/update a contact in turba

Holger Wegner holger.wegner at hamburg.de
Thu May 29 16:04:07 UTC 2008


There is nothing special:

DEBUG:  Backend of class SyncML_Backend_Horde created
DEBUG:  Started at 2008-05-28 12:26:07. Packet logged in /tmp/sync/client_11.xml
DEBUG:  Existing session continued: a5730d226fe51e90e3b24e5815533f86
DEBUG:  Authenticated: yes; version: 1.1; message ID: 2; source URI: fwm-0C935C03730C0C5584935C03F11800; target URI: https://holoweg.gotdns.org:443/horde/rpc.php; user: holweg; charset: UTF-8; wbxml: no
DEBUG:  Created device class SyncML_Device_Sync4j
DEBUG:  Handling <Add> sent from client
DEBUG:  Created device class SyncML_Device_Sync4j
DEBUG:  Adding client entry to server: already exists with server id 2c2e2ac880a0ed7a7e9e63f4190f1f52
DEBUG:  SQL Query by SyncML_Backend_Horde::_getSuid(): SELECT syncml_suid FROM horde_syncml_map WHERE syncml_syncpartner = ? AND syncml_db = ? AND syncml_uid = ? AND syncml_cuid = ?, values: fwm-0C935C03730C0C5584935C03F11800, contacts, holweg, -2147483455
DEBUG:  SQL Query by SyncML_Backend_Horde::createUidMap(): INSERT INTO horde_syncml_map (syncml_suid, syncml_timestamp, syncml_syncpartner, syncml_db, syncml_uid, syncml_cuid) VALUES (?, ?, ?, ?, ?, ?), values: 2c2e2ac880a0ed7a7e9e63f4190f1f52, 0, fwm-0C935C03730C0C5584935C03F11800, contacts, holweg, -2147483455
DEBUG:  Added client entry as 2c2e2ac880a0ed7a7e9e63f4190f1f52
DEBUG:  Received <Final> from client.
DEBUG:  Handle <Final> for state Sync
DEBUG:  Creating <Sync> output for server changes in database scard
DEBUG:  Created device class SyncML_Device_Sync4j
DEBUG:  Compiling server changes from 2008-05-28 11:49:43 to 2008-05-28 12:25:57
DEBUG:  Sending 0 server changes for client URI scard
DEBUG:  Sending <Final> to client
DEBUG:  Return message completed
DEBUG:  Finished at 2008-05-28 12:26:08. Packet logged in /tmp/sync/server_11.xml

And the xml looks like this, nothing special what I would see:
<?xml version="1.0" encoding="UTF-8"?>
<SyncML xmlns="syncml:syncml1.1">
<SyncHdr>
 <VerDTD>1.1</VerDTD>
    <VerProto>SyncML/1.1</VerProto>
    <SessionID>1211970286</SessionID>
    <MsgID>2</MsgID>
    <Target>
        <LocURI>fwm-0C935C03730C0C5584935C03F11800</LocURI>
        <LocName>holweg</LocName>
    </Target>
    <Source>
        <LocURI>https://blablabla:443/horde/rpc.php</LocURI>
    </Source>
    <Meta>
        <MaxMsgSize xmlns="syncml:metinf">1000000</MaxMsgSize>
        <MaxObjSize xmlns="syncml:metinf">31000</MaxObjSize>
    </Meta>
</SyncHdr>
<SyncBody>
    <Status>
        <CmdID>1</CmdID>
        <MsgRef>2</MsgRef>
        <CmdRef>0</CmdRef>
        <Cmd>SyncHdr</Cmd>
        <TargetRef>https://balblabla:443/horde/rpc.php</TargetRef>
        <SourceRef>fwm-0C935C03730C0C5584935C03F11800</SourceRef>
        <Data>200</Data>
    </Status>
    <Status>
        <CmdID>2</CmdID>
        <MsgRef>2</MsgRef>
        <CmdRef>3</CmdRef>
        <Cmd>Results</Cmd>
        <SourceRef>./devinf11</SourceRef>
        <Data>200</Data>
    </Status>
    <Status>
        <CmdID>3</CmdID>
        <MsgRef>2</MsgRef>
        <CmdRef>5</CmdRef>
        <Cmd>Sync</Cmd>
        <TargetRef>scard</TargetRef>
        <SourceRef>contact</SourceRef>
        <Data>200</Data>
    </Status>
    <Status>
        <CmdID>4</CmdID>
        <MsgRef>2</MsgRef>
        <CmdRef>6</CmdRef>
        <Cmd>Add</Cmd>
        <SourceRef>-2147483455</SourceRef>
        <Data>201</Data>
    </Status>
    <Get>
        <CmdID>5</CmdID>
        <Meta>
            <Type xmlns="syncml:metinf">application/vnd.syncml-devinf+xml</Type>
        </Meta>
        <Item>
            <Target>
                <LocURI>./devinf11</LocURI>
            </Target>
        </Item>
    </Get>
    <Sync>
        <CmdID>6</CmdID>
        <Target>
            <LocURI>contact</LocURI>
        </Target>
        <Source>
            <LocURI>scard</LocURI>
        </Source>
        <NumberOfChanges>0</NumberOfChanges>
    </Sync>
    <Final></Final>
</SyncBody>
</SyncML>


More information about the sync mailing list