Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


April 26, 2007

Exchange Web Services Offers Development Solution


RSS
Subscribe to Windows IT Pro | See More Development Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

It's always been hard to develop applications for Exchange Server. I base this statement on my experience as a developer and on the number of comments I've heard from other developers who have tried to extend, modify, or remove certain Exchange behaviors. This development problem has a direct bearing on all of us because it restricts the number and type of third-party solutions available for Exchange.

Microsoft has been justly criticized for not providing APIs for some Exchange functionality, having multiple layers of APIs that appear to do the same thing, and providing a confusing thicket of interfaces that come and go with each new version of Exchange. In fact, just about the only fully supported interface I can think of that has remained available since Exchange Server 5.5 is Messaging API (MAPI), which is now called the Outlook-Exchange Transport Protocol, and which isn't easy to use in any event. With the introduction of Exchange Server 2007, Microsoft has dramatically simplified the development story for Exchange-aware applications by doing three things: cutting several old APIs, deprecating some APIs to indicate that they shouldn't be used going forward, and introducing a new set of APIs. (For a list of the cut and deprecated APIs, see the Microsoft Exchange Team Blog post "E12 Developer Roadmap.")

I've written before about one of these new APIs, Exchange 2007's support of Windows PowerShell through Exchange Management Shell. Technically, Exchange Management Shell isn't an API, but it's already helping third parties (and administrators) write scripts and tools for Exchange 2007. However, I haven't talked much about Exchange Web Services, a complete API that lets you do a large number of things with Exchange, mostly focused on actions of interest to clients.

In general, Web services are service-oriented components that run on an application server. You make requests of them by using Simple Object Access Protocol (SOAP), which is essentially a way to pass a chunk of XML to a remote Web service so that the Web service can do some work and return a result. The Web services model is widely supported by many of Microsoft's competitors as well as by some major open-source application toolkits and frameworks.

Exchange Web Services uses this method to expose Client Access server functionality to SOAP-based applications. For example, you can easily use Exchange Web Services to either query or set the out-of-office state of a mailbox, to create a message, to find out when a given resource is free or busy, and so on. (Of course, your code must run under an account that has permission to get the requested data!) This ability is a big deal for two reasons. First, there have always been client operations that have been difficult or impossible to emulate without writing a ton of MAPI code. Second, SOAP with XML is an open and widely supported standard, so you can easily access or create Exchange data from a much wider variety of applications and platforms than ever before. Microsoft Office Communications Server 2007 implements its own set of Web services as well, raising the possibility of integrating these two products with your line-of-business applications or with systems you use for activities such as manufacturing resource planning, team scheduling, or project management.

Microsoft Office Outlook 2007 is probably the best example of what Web services applications can do because it uses Exchange Web Services to communicate with Exchange 2007 servers. I also expect the forthcoming Microsoft Entourage 2008 to show off Exchange Web Services' power. Because none of us have the source code for these two programs, though, Microsoft has posted several Web services samples on the MSDN Web site. If you're familiar with the basic concepts behind Microsoft .NET Framework programming, you'll find the samples immediately intelligible.

The appearance of Exchange Web Services means that ISVs now have a well-supported and open means to do things that were difficult or impossible in previous versions of Exchange—but what will they do with this tool? That remains to be seen. If there are specific features or behaviors that you'd like to see built with Exchange Web Services, drop me a note and I'll post the best suggestions in a future column.

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
10 Reasons to Deploy Windows Vista

The decision to upgrade your XP systems to Vista is simple when you consider features such as easier backup, a great desktop search, and vastly improved security options. ...

10 Reasons Not to Deploy Windows Vista

The decision to upgrade to Vista has to make business sense, but many companies find the costs in training and application compatibility problems outweigh any benefits Vista brings. ...

WinInfo Short Takes: CES 2009 Special Edition

An often irreverent look at some of the week's other CES 2009 news, including covering the Vegas spectacle from the comfort of my own home, Windows 7 public beta, a weird Microsoft song application, Palm Pre, pending Microsoft mobile moves, and much more ...


Development Whitepapers Batch Job Scheduling and .NET in 2008

Related Events Storage Consolidation for Your Microsoft Applications: Reducing Cost and Complexity

Top 10 Email Security Challenges and Solutions

Virtualization 101

Check out our list of Free Email Newsletters!

Exchange Server and Outlook eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

The Expert's Guide for Exchange 2003: Preparing for, Moving to, and Supporting Exchange Server 2003

Related Exchange Server and Outlook Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Exchange & Outlook UPDATE eNewsletter
News, strategies, products, and developments in Exchange Server and Outlook messaging.

Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2009 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing