Hi Zhoulei

great:-)! Thanks for your feedback.

Have a good time.
Beat


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 <<mailto:[email protected]>[email protected]>:

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 <<mailto:[email protected]>[email protected]>:

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
<mailto:[email protected]>[email protected]
<http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis>http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis



--
-----------------------------------------------
       Beat FORSTER
       Dipl. El. Ing. ETH
       Dipl. NDS ETHZ in Betriebswissenschaften
       Managing Partner
       <mailto:[email protected]>[email protected]

Synthesis AG   SyncML Server & Client Solutions
Badenerstrasse 18,  CH-8004 Zürich, Switzerland
Tel (direct):       <tel:%2B41%2044%20440%2066%2002>+41 44 440 66 02
Fax:                <tel:%2B41%2044%20440%2066%2004>+41 44 440 66 04
email:              <mailto:[email protected]>[email protected]
web:          <http://www.synthesis.ch>http://www.synthesis.ch
-----------------------------------------------


--
-----------------------------------------------
       Beat FORSTER
       Dipl. El. Ing. ETH
       Dipl. NDS ETHZ in Betriebswissenschaften
       Managing Partner
       [email protected]

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:              [email protected]
web:          http://www.synthesis.ch
-----------------------------------------------
_______________________________________________
os-libsynthesis mailing list
[email protected]
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis

Reply via email to