×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Super Contributor
    Join Date
    Mar 2003
    Posts
    1,733

    server devinf not understood by 9210 (issuing a 415 status)

    Posted by Yan Liu, ersatx@hotmail.com
    on January 05, 2002 at 19:33



    Hi!

    When 9210 asks for devinf through a GET command, we issue the following Results information:

    <Results>
    <CmdID>5</CmdID>
    <MsgRef>1</MsgRef>
    <CmdRef>3</CmdRef>
    <TargetRef>./devinf10</TargetRef>
    <Item>
    <Source>
    <LocURI>./devinf10</LocURI>
    </Source>
    <Meta>
    <Type>application/vnd.syncml-devinf+wbxml</Type>
    </Meta>
    <Data>
    <DevInf xmlns='syncml:devinf'>
    <VerDTD>1.0</VerDTD>
    <DevID>luasync</DevID>
    <DevTyp>server</DevTyp>
    <DataStore>
    <SourceRef>./scontacts.dat</SourceRef>
    <Rx-Pref>
    <CTType>text/x-vcard</CTType>
    <VerCT>2.1</VerCT>
    </Rx-Pref>
    <Tx-Pref>
    <CTType>text/x-vcard</CTType>
    <VerCT>2.1</VerCT>
    </Tx-Pref>
    <SyncCap>
    <SyncType>1</SyncType>
    <SyncType>2</SyncType>
    </SyncCap>
    </DataStore>
    <CTCap>
    <CTType>text/x-vcard</CTType>
    <PropName>BEGIN</PropName>
    <ValEnum>VCARD</ValEnum>
    <PropName>END</PropName>
    <ValEnum>VCARD</ValEnum>
    <PropName>VERSION</PropName>
    <ValEnum>2.1</ValEnum>
    <PropName>N</PropName>
    <PropName>TEL</PropName>
    <ParamName>VOICE</ParamName>
    <ParamName>FAX</ParamName>
    <ParamName>CELL</ParamName>
    </CTCap>
    </DevInf>
    </Data>
    </Item>
    </Results>

    NB: the "CmdID", "CmdREF", "MsgREF", "SourceRef" are all OK.

    But 9210 answers with a '415' status, which is "invalid format". We tried a lot of different versions of our Devinf, we tried nokia against different server, but always the same answer. The SCTS we use (1.2.3) got the same answer.

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Posts
    1,733

    RE: server devinf not understood by 9210 (issuing a 415 status)

    Posted by Yan Liu, ersatx@hotmail.com
    on January 07, 2002 at 13:26



    We found the solution:

    SCTS 1.2.3 sends a Results starting like this:
    <Results>
    <CmdID>5</CmdID>
    <MsgRef>1</MsgRef>
    <CmdRef>3</CmdRef>
    <TargetRef>./devinf10</TargetRef>
    <Item>
    <Source>
    <LocURI>./devinf10</LocURI>
    </Source>
    <Meta>
    <Type>application/vnd.syncml-devinf+wbxml</Type>
    </Meta>


    The Meta tag is not at the right place, it should be outside Item tag, ie:
    <Results>
    <CmdID>5</CmdID>
    <MsgRef>1</MsgRef>
    <CmdRef>3</CmdRef>
    <TargetRef>./devinf10</TargetRef>
    <Meta>
    <Type>application/vnd.syncml-devinf+wbxml</Type>
    </Meta>
    <Item>
    <Source>
    <LocURI>./devinf10</LocURI>
    </Source>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×