Last post May 11, 2007 08:14 AM by Steve@Planet
May 08, 2007 11:19 AM|ehanig|LINK
I went looking for the call CreateSMTPProxyAddress in the web services, and it doesnt seem to exist.
It is in the docs, even under the web services api, but i cant seem to find it in any deployed web service.
It says its in the HostedExchange web service, but there isnt any web service that deployed with that name.
May 11, 2007 07:42 AM|deejbee|LINK
In HMC4.0, you have to use ModifyMailbox. in the Hosted EMail 2007 namespace.
May 11, 2007 07:47 AM|ehanig|LINK
WHat that really means is all the calls didnt make it into the web services. Using ModifyMailbox is the more obscure and more difficult way to handle this.
The ideal situation is they expand the web services to handle all the calls.
May 11, 2007 07:51 AM|deejbee|LINK
May 11, 2007 08:14 AM|Steve@Planet|LINK
Calling directly to the ModifyMailbox in Hosted Email 2007 gives you much more control over what is happening.
This is my preffered method as you can easily modify your code if you decide to create a custom namespace that does this, and other functions at the same time for example.
Calling into a pre written web service is very restrictive imo.
Here's how I would do it.
Create a new MPSGeneral web service that uses the client dll, used for SampleUI, to send generic MPS requests to the MPS engine.
Create a proxy class in your .NET applications business teir that calls this new MPSGeneral WS and send the xml required for ModifyMailbox.
Call you proxy class from your own web UI.
This enables you to have full control over what requests are being sent to MPS. You can add logging abilities in the web service for requests and responses and many more.
As I mentioned, I would not use a single one of the pre defined MS MPS Web Services. Using the above is a much much better and cleaner design, and gives you, the dev, far more control over what requests are being sent to MPS.