none
ActiveSync Sync Inbox Response status=102? RRS feed

  • Question

  •  request 1 :

    Cmd=Sync&User=**&DeviceId=HC46WWY02403&DeviceType=HTC

    <?xml version="1.0" encoding="utf-8"?>

    <airsync:Sync xmlns:airsync="AirSync">

      <airsync:Collections>

        <airsync:Collection>

          <airsync:SyncKey>0</airsync:SyncKey>

          <airsync:CollectionId>8</airsync:CollectionId>

        </airsync:Collection>

      </airsync:Collections>

    </airsync:Sync>

    Response 1 :

    <?xml version="1.0" encoding="utf-8" ?><Sync xmlns="AirSync"><Collections><Collection><SyncKey>1264652884</SyncKey><CollectionId>8</CollectionId><Status>1</Status></Collection></Collections></Sync>

     request 2 :

    Cmd=Sync&User=**&DeviceId=HC46WWY02403&DeviceType=HTC

    <?xml version="1.0" encoding="utf-8"?>

    <airsync:Sync xmlns:airsync="AirSync">

      <airsync:Collections>

        <airsync:Collection>

          <airsync:SyncKey>1264652884</airsync:SyncKey>

          <airsync:CollectionId>8</airsync:CollectionId>

          <airsync:ConversationMode>1</airsync:ConversationMode>

          <airsync:Options>

            <airsyncbase:BodyPreference xmlns:airsyncbase="AirSyncBase">

              <airsyncbase:Type>2</airsyncbase:Type>

              <airsyncbase:TruncationSize>500</airsyncbase:TruncationSize>

              <airsyncbase:Preview>100</airsyncbase:Preview>

            </airsyncbase:BodyPreference>

          </airsync:Options>

        </airsync:Collection>

         <airsync:HeartbeatInterval>60</airsync:HeartbeatInterval>

      </airsync:Collections>

    </airsync:Sync>

    Response 2 :

    <?xml version="1.0" encoding="utf-8" ?><Sync xmlns="AirSync"><Status>102</Status></Sync>

    Any thoughts or suggestions?

    Thanks.

    Tuesday, November 18, 2014 9:45 AM

Answers

  • Hello shengyk,

    The status code indicates that the request contains WBXML, but it could not be decoded into XML. This is defined in [MS-ASCMD] §2.2.4.

    I believe the problem is that <airsync:HeartbeatInterval> is a child of <airsync:Collections> in your request. According to SyncRequest.xsd (§6.42), it should be a child of <airsync:Sync>.

    Please let me know if this resolves the issue or not.

    Best regards,
    Matt Weber | Microsoft Open Specifications Team

    Wednesday, November 19, 2014 4:35 PM

All replies

  • Hello shengyk,

    Thank you for your question. I am the engineer who will be working with you on this issue. I will review what you've posted here and let you know what I find, or let you know if I need additional information.

    Best regards,
    Matt Weber | Microsoft Open Specifications Team

    Wednesday, November 19, 2014 3:57 PM
  • Hello shengyk,

    The status code indicates that the request contains WBXML, but it could not be decoded into XML. This is defined in [MS-ASCMD] §2.2.4.

    I believe the problem is that <airsync:HeartbeatInterval> is a child of <airsync:Collections> in your request. According to SyncRequest.xsd (§6.42), it should be a child of <airsync:Sync>.

    Please let me know if this resolves the issue or not.

    Best regards,
    Matt Weber | Microsoft Open Specifications Team

    Wednesday, November 19, 2014 4:35 PM