Hi,
I am developing syncml client application that uses html transport
layer, And I'm using funambol server to test my syncml client
application. While doing that im facing some problem with funambol
server, Im able to connect and authenticate with the server
succefully, but When client sends the Sync Command, the server
returning 506 error, with the message saying that "Error creating the
HashMap for crc computation".

>From the syncml Representation Protocol document, i could see
that error code 506 refers to "Processing Error, The originatior
should retry the request". I tried several times, but im getting the
same result.

Can any one help me out regarding this?


Here is the log Im attaching:
-----------------------------


I. Client Request:
--------------

POST /funambol/ds HTTP/1.1
Cache-Control: private
Connection: close
User-Agent: HTTP SyncML Client [en] (Linux; I)
Accept: application/vnd.syncml+xml, application/vnd.syncml+wbxml, */*
Accept-Language: en
Accept-Charset: utf-8
Host: 192.168.3.66:8080
Content-Type: application/vnd.syncml+xml
Content-Length: 800


<?xml version="1.0" encoding="UTF-8"?>
<SyncML xmlns='SYNCML:SYNCML1.1'>
<SyncHdr>
<VerDTD>1.1</VerDTD>
<VerProto>SyncML/1.1</VerProto>
<SessionID>6</SessionID>
<MsgID>1</MsgID>
<Target>
<LocURI>http://192.168.3.66:8080/funambol/ds</LocURI>
</Target>
<Source>
<LocURI>Data_sync_client</LocURI>
<LocName>DataSyncClient</LocName>
</Source>
<Cred>
<Meta><Type xmlns="syncml:metinf">syncml:auth-basic</Type></Meta>
<Data>Z3Vlc3Q6Z3Vlc3Q=</Data>
</Cred>
</SyncHdr>
<SyncBody>
<Alert>
<CmdID>1</CmdID>
<Data>200</Data>
<Item>
<Target>
<LocURI>scard</LocURI>
<LocName>http://192.168.3.66:8080/funambol/ds</LocName>
</Target>
<Source>
<LocURI>scard</LocURI>
<LocName>Data_sync_client</LocName>
</Source>
<Meta>
<Anchor xmlns="syncml:metinf">
<Last>0</Last>
<Next>20070410110902</Next>
</Anchor>
</Meta>
</Item>
</Alert>
<Final/>
</SyncBody>
</SyncML>

II. Funambol Server Response:
------------------------

HTTP/1.1 200 OK
Set-Cookie:
Content-Type: application/vnd.syncml+xml
Content-Length: 1300
Date: Tue, 17 Apr 2007 03:36:53 GMT
Server: Apache-Coyote/1.1
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<SyncML>
<SyncHdr>
<VerDTD>1.1</VerDTD>
<VerProto>SyncML/1.1</VerProto>
<SessionID>6</SessionID>
<MsgID>1</MsgID>
<Target>
<LocURI>Data_sync_client</LocURI>
<LocName>DataSyncClient</LocName>
</Target>
<Source>
<LocURI>http://192.168.3.66:8080/funambol/ds</LocURI>
</Source>
<RespURI>http://192.168.3.66:8080/funambol/
ds;jsessionid=8AE32B6ACE3F670275293D2\
0795C637D</RespURI>
</SyncHdr>
<SyncBody>
<Status>
<CmdID>1</CmdID>
<MsgRef>1</MsgRef>
<CmdRef>0</CmdRef>
<Cmd>SyncHdr</Cmd>
<TargetRef>http://192.168.3.66:8080/funambol/ds</TargetRef>
<SourceRef>Data_sync_client</SourceRef>
<Data>212</Data>
</Status>
<Status>
<CmdID>2</CmdID>
<MsgRef>1</MsgRef>
<CmdRef>1</CmdRef>
<Cmd>Alert</Cmd>
<TargetRef>scard</TargetRef>
<SourceRef>scard</SourceRef>
<Data>508</Data>
<Item>
<Data>
<Anchor xmlns="syncml:metinf">
<Next>20070410110902</Next>
</Anchor>
</Data>
</Item>
</Status>
<Alert>
<CmdID>3</CmdID>
<Data>201</Data>
<Item>
<Target>
<LocURI>scard</LocURI>
<LocName>Data_sync_client</LocName>
</Target>
<Source>
<LocURI>scard</LocURI>
<LocName>http://192.168.3.66:8080/funambol/ds</LocName>
</Source>
<Meta>
<Anchor xmlns="syncml:metinf">
<Last>1176781013940</Last>
<Next>1176781013940</Next>
</Anchor>
</Meta>
</Item>
</Alert>
<Final></Final>
</SyncBody>
</SyncML>



III. Client Request:
--------------

POST /funambol/ds;jsessionid=8AE32B6ACE3F670275293D20795C637D HTTP/1.1
Cache-Control: private
Connection: close
User-Agent: HTTP SyncML Client [en] (Linux; I)
Accept: application/vnd.syncml+xml, application/vnd.syncml+wbxml, */*
Accept-Language: en
Accept-Charset: utf-8
Host: 192.168.3.66:8080
Content-Type: application/vnd.syncml+xml
Content-Length: 1421


<?xml version="1.0" encoding="UTF-8"?>
<SyncML xmlns='SYNCML:SYNCML1.1'>
<SyncHdr>
<VerDTD>1.1</VerDTD>
<VerProto>SyncML/1.1</VerProto>
<SessionID>6</SessionID>
<MsgID>2</MsgID>
<Target><LocURI>http://192.168.3.66:8080/funambol/ds</LocURI></Target>
<Source><LocURI>Data_sync_client</LocURI><LocName>DataSyncClient</
LocName></Sour\
ce>
</SyncHdr>
<SyncBody>
<Status>
<CmdID>1</CmdID>
<MsgRef>1</MsgRef>
<CmdRef>0</CmdRef>
<Cmd>SyncHdr</Cmd>
<TargetRef>Data_sync_client</TargetRef>
<SourceRef>http://192.168.3.66:8080/funambol/
ds;jsessionid=8AE32B6ACE3F670275293\
D20795C637D</SourceRef>
<Data>200</Data>
</Status>
<Status>
<CmdID>2</CmdID>
<MsgRef>1</MsgRef>
<CmdRef>3</CmdRef>
<Cmd>Alert</Cmd>
<TargetRef>scard</TargetRef>
<SourceRef>scard</SourceRef>
<Data>200</Data>
<Item>
<Data>
<Anchor xmlns="syncml:metinf">
<Next>20070220074502</Next>
</Anchor>
</Data>
</Item>
</Status>
<Sync>
<CmdID>3</CmdID>
<Target>
<LocURI>scard</LocURI>
<LocName>Sync Server Database</LocName>
</Target>
<Source>
<LocURI>scard</LocURI>
<LocName>Sync Client Database</LocName>
</Source>
<Replace>
<CmdID>4</CmdID>
<Meta>
<Type xmlns='syncml:metinf'>text/vcard</Type>
</Meta>
<Item>
<Source>
<LocURI>1173851508802-0</LocURI>
<LocName>Element ID at Source</LocName>
</Source>
<Data>
BEGIN:VCARD
VERSION:2.1
N:Puppy;Dusty
ORG:Columbia Internet
EMAIL:[EMAIL PROTECTED]
URL:http://www.userfriendly.org
TEL;WORK:+123 456 78 9012
END:VCARD
</Data>
</Item>
</Replace>
</Sync>
<Final/>
</SyncBody>
</SyncML>


IV. Funambol Server Response:
------------------------

HTTP/1.1 200 OK
Set-Cookie:
Content-Type: application/vnd.syncml+xml
Content-Length: 907
Date: Tue, 17 Apr 2007 03:36:53 GMT
Server: Apache-Coyote/1.1
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<SyncML>
<SyncHdr>
<VerDTD>1.1</VerDTD>
<VerProto>SyncML/1.1</VerProto>
<SessionID>6</SessionID>
<MsgID>2</MsgID>
<Target>
<LocURI>Data_sync_client</LocURI>
<LocName>DataSyncClient</LocName>
</Target>
<Source>
<LocURI>http://192.168.3.66:8080/funambol/ds</LocURI>
</Source>
<RespURI>http://192.168.3.66:8080/funambol/
ds;jsessionid=8AE32B6ACE3F670275293D2\
0795C637D</RespURI>
</SyncHdr>
<SyncBody>
<Status>
<CmdID>1</CmdID>
<MsgRef>2</MsgRef>
<CmdRef>0</CmdRef>
<Cmd>SyncHdr</Cmd>
<TargetRef>http://192.168.3.66:8080/funambol/ds</TargetRef>
<SourceRef>Data_sync_client</SourceRef>
<Data>200</Data>
</Status>
<Status>
<CmdID>2</CmdID>
<MsgRef>2</MsgRef>
<CmdRef>3</CmdRef>
<Cmd>Sync</Cmd>
<TargetRef>scard</TargetRef>
<SourceRef>scard</SourceRef>
<Data>506</Data>
<Item>
<Data>Error creating the HashMap for crc computation</Data>
</Item>
</Status>
</SyncBody>
</SyncML>


---------
Thanks in Advance,
Raja KRL.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GooSync" group.
To post to this group, send email to goosync@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/goosync?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to