none
Windows 8.1 MDM : device resending the same payload (session id = 1) repeatedly RRS feed

  • Question

  • I'm implementing MDM server for Windows 8.1 devices.
    Enrollment looks fine. but devices keep sending the same payload (session id = 1) over and over again.

    step 1 : request from win 8.1 device to server

    <SyncML xmlns="SYNCML:SYNCML1.2">
        <SyncHdr>
            <VerDTD>1.2</VerDTD>
            <VerProto>DM/1.2</VerProto>
            <SessionID>1</SessionID>
            <MsgID>1</MsgID>
            <Target>
                <LocURI>http://localhost:8000/handler.ashx</LocURI>
            </Target>
            <Source>
                <LocURI>0</LocURI>
            </Source>
        </SyncHdr>
        <SyncBody>
            <Alert>
                <CmdID>2</CmdID>
                <Data>0</Data>
            </Alert>
            <Replace>
                <CmdID>3</CmdID>
                <Item>
                    <Source>
                        <LocURI>./DevInfo/DevId</LocURI>
                    </Source>
                    <Data>2550612</Data>
                </Item>
                <Item>
                    <Source>
                        <LocURI>./DevInfo/Man</LocURI>
                    </Source>
                    <Data>Microsoft Corporation</Data>
                </Item>
                <Item>
                    <Source>
                        <LocURI>./DevInfo/Mod</LocURI>
                    </Source>
                    <Data>Microsoft Windows NT Workstation 6.3</Data>
                </Item>
                <Item>
                    <Source>
                        <LocURI>./DevInfo/DmV</LocURI>
                    </Source>
                    <Data>1.2</Data>
                </Item>
                <Item>
                    <Source>
                        <LocURI>./DevInfo/Lang</LocURI>
                    </Source>
                    <Data>en-US</Data>
                </Item>
            </Replace>
            <Final/>
        </SyncBody>
    </SyncML>


    step 2 : response from server to device

    <SyncML xmlns="SYNCML:SYNCML1.2">
        <SyncHdr>
            <VerDTD>1.2</VerDTD>
            <VerProto>DM/1.2</VerProto>
            <SessionID>1</SessionID>
            <MsgID>2</MsgID>
            <Target>
                <LocURI>0</LocURI>
            </Target>
            <Source>
                <LocURI>http://localhost:8000/handler.ashx</LocURI>
            </Source>
        </SyncHdr>
        <SyncBody>
            <Status>
                <MsgRef>1</MsgRef>
                <CmdRef>0</CmdRef>
                <CmdID>4</CmdID>
                <Cmd>SyncHdr</Cmd>
                <Data>200</Data>
            </Status>
            <Status>
                <MsgRef>1</MsgRef>
                <CmdRef>2</CmdRef>
                <CmdID>5</CmdID>
                <Cmd>Alert</Cmd>
                <Data>200</Data>
            </Status>
            <Status>
                <MsgRef>1</MsgRef>
                <CmdRef>3</CmdRef>
                <CmdID>6</CmdID>
                <Cmd>Replace</Cmd>
                <Data>200</Data>
            </Status>
            <Final/>
        </SyncBody>
    </SyncML>

    after step 2, step 1 is repeated.

    Is there any specific reason why ?
    plz help.





    • Edited by lloydkim1835 Wednesday, December 17, 2014 1:10 PM
    Wednesday, December 17, 2014 1:00 PM

All replies

  • Is it repeating step 1 immediately or each time you force a sync?

    You are not sending back any commands for the client to process so there is no reason for the client to continue the current SyncML session.


    Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast your votes for existing suggestions.

    Wednesday, December 17, 2014 9:05 PM
    Moderator
  • thanks Eric.

    step 1 is repeated each time for a sync. (not immediately)

    and session id is always 1


    • Edited by lloydkim1835 Thursday, December 18, 2014 1:27 AM
    Thursday, December 18, 2014 1:26 AM