Menu

credentials in SmlCredPtr_t

Help
hans2hank
2004-07-28
2004-07-28
  • hans2hank

    hans2hank - 2004-07-28

    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

     
    • hans2hank

      hans2hank - 2004-07-28

      I found it: meta element has its own DTD now. How easy ;-)
      hans

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.