locked
Deletion of multiple VPN settings failing in win phone 8.1 RRS feed

  • Question

  • Hi,

    I am trying to delete multiple vpn settings from my device. but its not happening. the first setting "SimpleA" gets deleted but it gives 500 for "simpleB" 

    Below is the syncML. Please let me know what is wrong with the syncML


    [9528] <?xml version="1.0" encoding="iso-8859-1"?>
    [9528] <!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SYNCML 1.2//EN" "">
    [9528] <SyncML xml:lang="en" xmlns="syncml:SYNCML1.2">
    [9528]   <SyncHdr>
    [9528]     <VerDTD>1.2</VerDTD>
    [9528]     <VerProto>DM/1.2</VerProto>
    [9528]     <SessionID>2B</SessionID>
    [9528]     <MsgID>4</MsgID>
    [9528]     <Target>
    [9528]       <LocURI>IMEI:353569050759825</LocURI>
    [9528]     </Target>
    [9528]     <Source>
    [9528]       <LocURI>https://10.53.205.83:443/aips2/aipService.svc/AfariaWinphoneServerPost</LocURI>
    [9528]       <LocName>AfariaWinPhoneProvider</LocName>
    [9528]     </Source>
    [9528]     <RespURI>https://10.53.205.83:443/aips2/aipService.svc/AfariaWinphoneServerPost?info=ClientType%3d-11%26SessId%3d353569050759825_20151005_144009753</RespURI>
    [9528]   </SyncHdr>
    [9528]   <SyncBody>
    [9528]     <Status>
    [9528]       <CmdID>1</CmdID>
    [9528]       <MsgRef>4</MsgRef>
    [9528]       <CmdRef>0</CmdRef>
    [9528]       <Cmd>SyncHdr</Cmd>
    [9528]       <TargetRef>https://10.53.05.83:443/aips2/aipService.svc/WinphoneServerPost</TargetRef>
    [9528]       <SourceRef>IMEI:3535690509825</SourceRef>
    [9528]       <Data>200</Data>
    [9528]     </Status>
    [9528]     <Delete>
    [9528]       <CmdID>2</CmdID>
    [9528]       <Item>
    [9528]         <Target>
    [9528]           <LocURI>./Vendor/MSFT/VPN/simpleA</LocURI>
    [9528]         </Target>
    [9528]       </Item>
    [9528]     </Delete>
    [9528]     <Delete>
    [9528]       <CmdID>3</CmdID>
    [9528]       <Item>
    [9528]         <Target>
    [9528]           <LocURI>./Vendor/MSFT/VPN/simpleB</LocURI>
    [9528]         </Target>
    [9528]       </Item>
    [9528]     </Delete>
    [9528]     <Final />
    [9528]   </SyncBody>
    [9528] </SyncML>||||353569050759825_20151005_144009753||||

    [9528] <?xml version="1.0" encoding="utf-16"?>
    [9528] <SyncML xmlns="SYNCML:SYNCML1.2">
    [9528]   <SyncHdr>
    [9528]     <VerDTD>1.2</VerDTD>
    [9528]     <VerProto>DM/1.2</VerProto>
    [9528]     <SessionID>2B</SessionID>
    [9528]     <MsgID>5</MsgID>
    [9528]     <Target>
    [9528]       <LocURI>https://10.53.205.83/aips2/aipService.svc/AfariaWinphoneServerPost?info=ClientType%3d-11%26SessId%3d353569050759825_20151005_144009753</LocURI>
    [9528]     </Target>
    [9528]     <Source>
    [9528]       <LocURI>IMEI:353569050759825</LocURI>
    [9528]     </Source>
    [9528]   </SyncHdr>
    [9528]   <SyncBody>
    [9528]     <Status>
    [9528]       <CmdID>1</CmdID>
    [9528]       <MsgRef>4</MsgRef>
    [9528]       <CmdRef>0</CmdRef>
    [9528]       <Cmd>SyncHdr</Cmd>
    [9528]       <Data>200</Data>
    [9528]     </Status>
    [9528]     <Status>
    [9528]       <CmdID>2</CmdID>
    [9528]       <MsgRef>4</MsgRef>
    [9528]       <CmdRef>2</CmdRef>
    [9528]       <Cmd>Delete</Cmd>
    [9528]       <Data>200</Data>
    [9528]     </Status>
    [9528]     <Status>
    [9528]       <CmdID>3</CmdID>
    [9528]       <MsgRef>4</MsgRef>
    [9528]       <CmdRef>3</CmdRef>
    [9528]       <Cmd>Delete</Cmd>
    [9528]       <Data>500</Data>
    [9528]     </Status>
    [9528]     <Final />
    [9528]   </SyncBody>
    [9528] </SyncML>||||353569050759825_20151005_144009753||||

    Thanks in advance,

    Charu

    Monday, October 5, 2015 11:46 AM

All replies

  • Hi,

    I am trying to delete multiple vpn settings from my device. but its not happening. the first setting "SimpleA" gets deleted but it gives 500 for "simpleB" 

    Below is the syncML. Please let me know what is wrong with the syncML


    [9528] <?xml version="1.0" encoding="iso-8859-1"?>
    [9528] <!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SYNCML 1.2//EN" "">
    [9528] <SyncML xml:lang="en" xmlns="syncml:SYNCML1.2">
    [9528]   <SyncHdr>
    [9528]     <VerDTD>1.2</VerDTD>
    [9528]     <VerProto>DM/1.2</VerProto>
    [9528]     <SessionID>2B</SessionID>
    [9528]     <MsgID>4</MsgID>
    [9528]     <Target>
    [9528]       <LocURI>IMEI:353569050759825</LocURI>
    [9528]     </Target>
    [9528]     <Source>
    [9528]       <LocURI>https://10.53.205.83:443/aips2/aipService.svc/AfariaWinphoneServerPost</LocURI>
    [9528]       <LocName>AfariaWinPhoneProvider</LocName>
    [9528]     </Source>
    [9528]     <RespURI>https://10.53.205.83:443/aips2/aipService.svc/AfariaWinphoneServerPost?info=ClientType%3d-11%26SessId%3d353569050759825_20151005_144009753</RespURI>
    [9528]   </SyncHdr>
    [9528]   <SyncBody>
    [9528]     <Status>
    [9528]       <CmdID>1</CmdID>
    [9528]       <MsgRef>4</MsgRef>
    [9528]       <CmdRef>0</CmdRef>
    [9528]       <Cmd>SyncHdr</Cmd>
    [9528]       <TargetRef>https://10.53.05.83:443/aips2/aipService.svc/WinphoneServerPost</TargetRef>
    [9528]       <SourceRef>IMEI:3535690509825</SourceRef>
    [9528]       <Data>200</Data>
    [9528]     </Status>
    [9528]     <Delete>
    [9528]       <CmdID>2</CmdID>
    [9528]       <Item>
    [9528]         <Target>
    [9528]           <LocURI>./Vendor/MSFT/VPN/simpleA</LocURI>
    [9528]         </Target>
    [9528]       </Item>
    [9528]     </Delete>
    [9528]     <Delete>
    [9528]       <CmdID>3</CmdID>
    [9528]       <Item>
    [9528]         <Target>
    [9528]           <LocURI>./Vendor/MSFT/VPN/simpleB</LocURI>
    [9528]         </Target>
    [9528]       </Item>
    [9528]     </Delete>
    [9528]     <Final />
    [9528]   </SyncBody>
    [9528] </SyncML>||||353569050759825_20151005_144009753||||

    [9528] <?xml version="1.0" encoding="utf-16"?>
    [9528] <SyncML xmlns="SYNCML:SYNCML1.2">
    [9528]   <SyncHdr>
    [9528]     <VerDTD>1.2</VerDTD>
    [9528]     <VerProto>DM/1.2</VerProto>
    [9528]     <SessionID>2B</SessionID>
    [9528]     <MsgID>5</MsgID>
    [9528]     <Target>
    [9528]       <LocURI>https://10.53.205.83/aips2/aipService.svc/AfariaWinphoneServerPost?info=ClientType%3d-11%26SessId%3d353569050759825_20151005_144009753</LocURI>
    [9528]     </Target>
    [9528]     <Source>
    [9528]       <LocURI>IMEI:353569050759825</LocURI>
    [9528]     </Source>
    [9528]   </SyncHdr>
    [9528]   <SyncBody>
    [9528]     <Status>
    [9528]       <CmdID>1</CmdID>
    [9528]       <MsgRef>4</MsgRef>
    [9528]       <CmdRef>0</CmdRef>
    [9528]       <Cmd>SyncHdr</Cmd>
    [9528]       <Data>200</Data>
    [9528]     </Status>
    [9528]     <Status>
    [9528]       <CmdID>2</CmdID>
    [9528]       <MsgRef>4</MsgRef>
    [9528]       <CmdRef>2</CmdRef>
    [9528]       <Cmd>Delete</Cmd>
    [9528]       <Data>200</Data>
    [9528]     </Status>
    [9528]     <Status>
    [9528]       <CmdID>3</CmdID>
    [9528]       <MsgRef>4</MsgRef>
    [9528]       <CmdRef>3</CmdRef>
    [9528]       <Cmd>Delete</Cmd>
    [9528]       <Data>500</Data>
    [9528]     </Status>
    [9528]     <Final />
    [9528]   </SyncBody>
    [9528] </SyncML>||||353569050759825_20151005_144009753||||

    Thanks in advance,

    Charu


    Wednesday, October 7, 2015 10:17 AM
  • still looking for some solution to this.. kindly help.. 
    Wednesday, October 28, 2015 8:15 AM
  • I don't know if it will help or not, but what if you wrap the <Delete> commands in a single <Sequence> command? That should instruct the device to first delete simpleA and only then delete simpleB.
    Wednesday, October 28, 2015 10:24 AM
  • doesn't work :(

    Request:
     <?xml version="1.0" encoding="iso-8859-1"?> 
     <!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SYNCML 1.2//EN" ""> 
     <SyncML xml:lang="en" xmlns="syncml:SYNCML1.2"> 
       <SyncHdr> 
         <VerDTD>1.2</VerDTD> 
         <VerProto>DM/1.2</VerProto> 
         <SessionID>9</SessionID> 
         <MsgID>5</MsgID> 
         <Target> 
           <LocURI>IMEI:354149055491929</LocURI> 
         </Target> 
         <Source> 
           <LocURI>https://10.53.205.83:443/aips2/aipService.svc/AfariaWinphoneServerPost</LocURI> 
           <LocName>AfariaWinPhoneProvider</LocName> 
         </Source> 
         <RespURI>https://10.53.205.83:443/aips2/aipService.svc/AfariaWinphoneServerPost?info=ClientType%3d-11%26SessId%3d354149055491929_20151106_114450460</RespURI> 
       </SyncHdr> 
       <SyncBody> 
         <Status> 
           <CmdID>1</CmdID> 
           <MsgRef>5</MsgRef> 
           <CmdRef>0</CmdRef> 
           <Cmd>SyncHdr</Cmd> 
           <TargetRef>https://10.53.205.83:443/aips2/aipService.svc/AfariaWinphoneServerPost</TargetRef> 
           <SourceRef>IMEI:354149055491929</SourceRef> 
           <Data>200</Data> 
         </Status> 
         <Sequence> 
           <CmdID>2</CmdID> 
           <Delete> 
             <CmdID>3</CmdID> 
             <Item> 
               <Target> 
                 <LocURI>./Vendor/MSFT/VPN/vpn2</LocURI> 
               </Target> 
             </Item> 
           </Delete> 
           <Delete> 
             <CmdID>4</CmdID> 
             <Item> 
               <Target> 
                 <LocURI>./Vendor/MSFT/VPN/winphn8</LocURI> 
               </Target> 
             </Item> 
           </Delete> 
         </Sequence> 
         <Final /> 
       </SyncBody> 
     </SyncML>

     Responnse
     <?xml version="1.0" encoding="utf-16"?> 
     <SyncML xmlns="SYNCML:SYNCML1.2"> 
       <SyncHdr> 
         <VerDTD>1.2</VerDTD> 
         <VerProto>DM/1.2</VerProto> 
         <SessionID>9</SessionID> 
         <MsgID>6</MsgID> 
         <Target> 
           <LocURI>https://10.53.205.83/aips2/aipService.svc/AfariaWinphoneServerPost?info=ClientType%3d-11%26SessId%3d354149055491929_20151106_114450460</LocURI> 
         </Target> 
         <Source> 
           <LocURI>IMEI:354149055491929</LocURI> 
         </Source> 
       </SyncHdr> 
       <SyncBody> 
         <Status> 
           <CmdID>1</CmdID> 
           <MsgRef>5</MsgRef> 
           <CmdRef>0</CmdRef> 
           <Cmd>SyncHdr</Cmd> 
           <Data>200</Data> 
         </Status> 
         <Status> 
           <CmdID>2</CmdID> 
           <MsgRef>5</MsgRef> 
           <CmdRef>2</CmdRef> 
           <Cmd>Sequence</Cmd> 
           <Data>200</Data> 
         </Status> 
         <Status> 
           <CmdID>3</CmdID> 
           <MsgRef>5</MsgRef> 
           <CmdRef>3</CmdRef> 
           <Cmd>Delete</Cmd> 
           <Data>200</Data> 
         </Status> 
         <Status> 
           <CmdID>4</CmdID> 
           <MsgRef>5</MsgRef> 
           <CmdRef>4</CmdRef> 
           <Cmd>Delete</Cmd> 
           <Data>500</Data> 
         </Status> 
         <Final /> 
       </SyncBody> 
     </SyncML>

     
    Friday, November 6, 2015 6:19 AM