logo       

Re: Problem in developing SyncML connector using C++ API: msg#00161

java.sync4j.user

Subject: Re: Problem in developing SyncML connector using C++ API

Hi,
did you try with a real SyncML server? Just to see where the problem can be...

Andrea


2007/2/21, 임상석 <infect2@xxxxxxxxxxx>:

I'm currently developing a SyncML connector for Linux PIM application (Pixil) by using  the C++ Client API.

 

In order to test the connector, I'm utilizing SCTS (SyncML Conformance Test Suite) as a server-side DB.

 

For network connection, curlTransportAgent is used.

 

My problem is that

 

As soon as curlTransportAgent->sendmessage(...) sends a HTTP request,

 

the SCTS terminates the connection, sending FIN&ACK (I checked it by using a packet sniffer)

 

without sending any response. So the connector is returned with "Empty reply from server" from CURL lib.

 

It seems that the SCTS close the connection right after accepting and reading the HTTP request.

 

The HTTP request is as follows,

 

----------------------------------------------

POST /syncml HTTP/1.1

User-Agent: useragent

Host: 165.213.209.54:8080

Accept: */*

Content-Type: application/vnd.syncml+xml

Content-Length: 1312

Expect: 100-continue

-----------------------------------------------

 

Regarding the server SCTS configuration,

 

I created a normal SCTS account with a system database having

 

URI                   syncml

MIME Type       text/plain

 

and incoming authentication was disabled.

 

I guess that the formats of the URIs may be wrong, an authentication issue, or "100-continue" is not supported.

 

Could you help me find a way out of this problem or recommend a simple SyncML server source code so as

 

to chase the server side behavior with a debugger, any other smart way to debug.

 

Thank you. :-)

 

Sang Seok



 


[나의 라이브러리, 한메일] 편지쓰고 뮤지컬 Go!

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sync4j-users mailing list
Sync4j-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sync4j-users


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________
Sync4j-users mailing list
Sync4j-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sync4j-users
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise