Simon Taylor - .Net developer, Cheltenham

My record of coding problems solved and new things discovered

Interfacing with Exchange : Part 4

clock February 28, 2009 16:29 by author Simon

To move an item in a public folder you need to send a MOVE WebDav command together with the URI of the item to move - the destination URI should be added to the request as a HTTP header. The following code moves the contents of one folder to another by searching for all of the items in the source folder and looping through them and moving them one at a time to the destination folder.More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Interfacing with Exchange : Part 3

clock February 28, 2009 16:18 by author Simon

Below is the code for creating a public folder in exchange. Basically you need to send a MKCOL WebDav command to the server together with xml to set further options such as whether or not to enable email for the folder.More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Interfacing with Exchange : Part 2

clock February 26, 2009 19:47 by author Simon

If Outlook Web Access (OWA) is enabled you simply need to send a HTTP request to the server at the URL http://<server>/exchweb/bin/auth/owaauth.dll, passing the username and password as parameters. If authentication is succesful, two cookies will be returned with the response which should be stored and passed with subsequent requests to the server:More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Interfacing with Exchange : Part 1

clock February 26, 2009 19:25 by author Simon

It is possible to interface with exchange - create public folders etc, using WebDAV. The next few posts will include code and an explanation of how to go about doing a number of things such as creating public folders. In order to be able to do anything you need to be able to send WebDAV xml documents via an Http request, below are a number of methods which can be used to do this, subsequent posts will make use of these methods. More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


.Net Service Provider

clock February 22, 2009 13:00 by author Simon

I had a similar problem to solve in .Net to the one I solved in Java using the ServiceLocator class. I moved the NHibernateSessionManager to a library but needed a way of registering project specific interceptors. Here is the code:More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Java Service Provider

clock February 20, 2009 09:27 by author Simon

I had some code which was used to translate from a business entity to a data transfer object, I wanted to put this code in a library to re-use it across multiple projects. The initial version of the translator was made up of the main translator which implements the singleton pattern and an abstract "entity" translator, subclasses of which are then written for each translation required e.g. Entity A -> DTO B. More...

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Seam Project under source control

clock February 19, 2009 21:19 by author Simon

How to get a seam project compiling again once it has been checked out of source control...
 
This assumes that the project being checked out is an ear deployment created using the New Seam Project Wizard. It was also using Eclipse Europa (v 3.3.2).More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


About the author

Simon is Head of Engineering at Trigger Software, Cheltenham, UK. He is primarily a .Net developer although sometimes has to turn his hand to other technologies such as Java and Flex. Contact me.

Discount ASP

Sign in