Hello,
after a longer time I am back to SyncML devolopment. I have upgraded to 4_4 Version of the toolkit. In earlier version I used meta data and it worked...
My aim is to read properly the first clients message, resp. to read and react to the following part of SyncML header:
When I use the SmlCredPtr_t structure I can read data (dHV0b3I6dHV0b3I=) but no Meta. I need to read this meta date to know which auth type should be used. After becoming this message in my code it says that the length of pSyncMLHdrContent.cred.meta (which is SmlPcdataPtr_t) is 0! There are simply no this data there.
Any idea? I would be happy to find some feedback.
Thank you
hans
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
after a longer time I am back to SyncML devolopment. I have upgraded to 4_4 Version of the toolkit. In earlier version I used meta data and it worked...
My aim is to read properly the first clients message, resp. to read and react to the following part of SyncML header:
<Cred>
<Meta>
<Type xmlns='syncml:metinf'>syncml:auth-basic</Type>
</Meta>
<Data>dHV0b3I6dHV0b3I=</Data>
</Cred>
When I use the SmlCredPtr_t structure I can read data (dHV0b3I6dHV0b3I=) but no Meta. I need to read this meta date to know which auth type should be used. After becoming this message in my code it says that the length of pSyncMLHdrContent.cred.meta (which is SmlPcdataPtr_t) is 0! There are simply no this data there.
Any idea? I would be happy to find some feedback.
Thank you
hans
I found it: meta element has its own DTD now. How easy ;-)
hans