Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Tue, 18 Mar 2008 23:00:12 +0100,    group: microsoft.public.exchange.development        back       


How to use EWS in custom OWA forms?   
Hi,

I just try to replace a WebForm which worked in OWA 2000/2003
with an aspx page to run in OWA 2007 so that it handles
items of a custom message class.

I can find no samples where and how to add a web reference
to the Exchange Web Services which I guess we are supposed
to use to access the item data of elements we want to display
through custom aspx pages.

I tried to get some insight by browsing through the default
OWA forms. I found that they all derive from OwaForm and
tried to inherit my asp.net class from it as well but I found that
everything which might get access to data was implemented
with internal classes. Digging deeper and deeper brought me
actually to Microsoft.Exchange.StoreProvider.dll which exports
Microsoft.Mapi.* namespaces. It seems that OWA 2007 itself
uses an unmanaged MAPI wrapper to access data. It must be a
bit more complex because current MAPI implementations
are 32 bit only.
I here MAPI calling "Morituri te salutant" ;-)

So is EWS really the way to go or can this StoreProvider
be used for custom OWA forms as well?

Up to now the Exchange 2007 SDK (even with SP1 update)
is quite quiet when it comes to OWA customization, so any
help or tips are welcome.

--
SvenC
date: Tue, 18 Mar 2008 23:00:12 +0100   author:   SvenC am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us