Hi Beat, Its a wonderful try. Thanks all of you guys. Set the "encoding" as a int value solve the issue.
Regards -zhoulei 2015-01-21 17:50 GMT+08:00 Beat Forster <beat.fors...@synthesis.ch>: > Hi Zhoulei > > the "encoding" is correct. > > - Use Int8 mode to write this value. > - Make sure that the profile will be closed before > starting the sync session to get the value saved. > > Best Regards > Beat > > Hi Patrick, > > > Thanks for your suggestion. And I already try to set the encoding to 2, > also try to define DEFAULT_ENCODING as "SML_XML", all not work. > > > The post content type get wbxml too. Like this:Content-Type: > application/vnd.syncml+wbxml > > > Regards > > > -Zhoulei > > > 2015-01-20 23:56 GMT+08:00 Patrick Ohly <patrick.o...@intel.com>: > > On Tue, 2015-01-20 at 19:04 +0800, zhou lei wrote: > > Dear Lukas, > > > > > > I installing one syncML server which did not support WBXML, I have to > > format the syncML CMD with XML, not WBXML. > > > > > > As I know, libsynthesis already support XML, but I don't know how to > > switch WBXML to XML. Please kindly help on this. > > In the sync profile, set the "encoding" key to 2 instead of 1. See > SDK_manual.pdf for setting keys. I'm not sure where that key > specifically is documented. > > -- > Best Regards, Patrick Ohly > > The content of this message is my personal opinion only and although > I am an employee of Intel, the statements I make here in no way > represent Intel's position on the issue, nor am I authorized to speak > on behalf of Intel on this matter. > > > > _______________________________________________ > os-libsynthesis mailing list > os-libsynthesis@synthesis.ch > http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis > > > > -- > > ----------------------------------------------- > Beat FORSTER > Dipl. El. Ing. ETH > Dipl. NDS ETHZ in Betriebswissenschaften > Managing Partner > beat.fors...@synthesis.ch > > Synthesis AG SyncML Server & Client Solutions > Badenerstrasse 18, CH-8004 Zürich, Switzerland > Tel (direct): +41 44 440 66 02 > Fax: +41 44 440 66 04 > email: i...@synthesis.ch > web: http://www.synthesis.ch > ----------------------------------------------- >
_______________________________________________ os-libsynthesis mailing list os-libsynthesis@synthesis.ch http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis