Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8034259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T01:57:22+00:00 2026-06-05T01:57:22+00:00

I am trying to develop a client to connect to Microsoft exchange server using

  • 0

I am trying to develop a client to connect to Microsoft exchange server using Activesync protocol. Now I know how to make up Activesync HTTP header and how to transfer between xml and
wbxml. But I still have no idea how to generate xml string accoding to Activesync command. Here is a example:
For FolderSync command, here is the xml string generate for it:

<?xml version="1.0" encoding="utf-8"?> 
<FolderSync xmlns="FolderHierarchy:">
<SyncKey>2</SyncKey>
</FolderSync>

What’s the rule? Anyone can help ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T01:57:24+00:00Added an answer on June 5, 2026 at 1:57 am

    Here’s a good explanation of the protocol sequence you need to use for syncing:

    http://msdn.microsoft.com/en-us/library/ee238029%28v=EXCHG.80%29.aspx

    and another, specific to folder syncing: http://msdn.microsoft.com/en-us/library/ee159766%28v=exchg.80%29.aspx

    Basically, you need to send the Http/WBXML commands in a specific order, otherwise they will be rejected. So first you need to send a FolderSync command like this:

    <?xml version="1.0" encoding="utf-8" ?>
    <FolderSync xmlns="FolderHierarchy">
        <SyncKey>0</SyncKey>
    </FolderSync>
    

    for Exchange to return a good SyncKey. Then you parse and use this SyncKey in your next Sync or getItemEstimate commands.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm trying to develop a client-server chat application using java servlets and mysql(innoDB engine)
I'm trying to develop an agent/client that will listen to HTTP requests on a
I am trying to develop a very simple client / server where the client
I am trying to develop a TCP client that runs on mobile devices using
I am trying to develop application to send mail using configured SMTP client rather
I am trying to develop a Web-Client based Online game using GWT. The game
The company I am working in is trying to develop our new mobile client
i'm trying to develop a simple Hello World web service using Axis2 v1.5, Tomcat6
I'm trying to develop the handshake for websocket hybi-17 protocol ( https://datatracker.ietf.org/doc/html/draft-ietf-hybi-thewebsocketprotocol-17 ). According
I am trying to develop a web bassed FTP client for my NAS. When

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.