On Wednesday 10 October 2007 15:33:11 you wrote:
> On Wednesday 10 October 2007, Michael Unterkalmsteiner wrote:
> > In the reply to =A0Gajendra Singh's mail I wrote why I've worked on the
> > 0.19 version of syncml-client plugin. When I joined the project, I had
> > the information that syncml-http-client (and therefore libsyncml) doesn=
> > work with a Funambol server.
> That's true, we assumed that we can't sync with SyncML HTTP server since
> we're in the acting sync role. But maybe I'm wrong - i wonder how the
> sync4j plugin is working - or if just the sync4j server is able to handle
> the get_changes / commit changes in different orders.
The sync4j SDK provides following sync types:
=2D two-way: the client and the server exchange information about
modified data. The client sends the modifications first.
=2D one-way-from-client: the client sends its modifications to the server b=
the server does not send its modifications back to the client.
=2D one-way-from-server: the client gets all modifications from the server =
the client does not send its modifications to the server.
So in get_changes() I first do a one-way-from-server sync, then in=20
commit_changes() a one-way-from-client sync. This results actually in 2 syn=
sessions. If opensync would support the reordering of=20
commit_changes/get_changes, a two-way sync would be possible (I have to adm=
that at the moment I don't know how conflicts would then be resolved on the=
server side, probably duplication?)
> But it's planned to handle this ... since we want to be able to sync
> different OpenSync instances for example with syncml-http-client and
> syncml-http-server. So you're able to sync your desktop with your laptop =
> similar device.
> Maybe you could give a brief introduction if you have to handle the sync
> process with the syncml server in a different way. Regarding the issue wi=
> mobical.net maybe i could help ... could you provide the syncml messages
> which got transferred.
It's in the attachment. I've created to events on the server.
As said in the other mail, sending to server works with events (other objec=
not yet tested).
> > I've implemented also a SIFformat plugin. Sync4j Interchange Format is
> > used internally by Funambol in order to connect to different exchange
> > server implementations. I've used xslt to make the conversion to
> > opensync's xmlformat-xyz (currently todo and note are supported).
> I see - that's great!
Maybe it would make sense to extract that from the sync4j plugin and create=
separate location like for the vformat plugin?
> > Anyway, I see there's a potential overlap with syncml plugin currently =
> > trunk, but the focus of my plugin is to work with Funambol which isn't
> > supported yet by syncml (a future merge would be a reasonable step).
> > It would be also wise to rename syncml-client into something like
> > sync4j-client/funambol-client in order to stress the relationship to
> > Funambol.
> Could you give me a brief introduction in the changes how the funambol
> server works different then other SyncML Server. For sure the best soluti=
Well, I'm in the topic only since the last two months, therefore I can't yo=
provide any profound comparison. Here's the link for funambol related stuff=
(docs and src): http://download.forge.objectweb.org/sync4j/