Last post Mar 09, 2007 11:00 AM by Brian@Planet
Mar 08, 2007 06:36 PM|Frazer|LINK
We are extending the MPSSampleCP web application and would like to stick to using the MPS web services, encapsulated in the MPSWSProxy assembly. Can anyone point me to any documentation or more detailed information around the API exposed by these web services.
For example, we would like to figure out if it is possible to use them to query a given mailbox's quota settings then change them. I can see the ModifyUserMailboxQuota method, in the Hosted Exchange W/S - but its not clear to me how to construct the payload
for this method call - EG what is <mailXMLString> and how exactly do I construct that?
Similarly, I can see the GetProperties method, but (a) can it be used to retrieve quota settings and (b) how do I specify which properties to query (<propertiesXmlString> ???) and how do I parse the response.
I am hoping that someone can point me to someplace in the HMC 3.5 documentation where I can find the information we need and perhaps a pointer or two about how to use these methods (or even confirm that its a valid approach to the problem).
Mar 09, 2007 11:00 AM|Brian@Planet|LINK
There a large numberr of web service endpoints available from HMC. In the HMC documetation search for the a page titled Web Services API which gives a linked list of the namespaces with web service exposure.
Finding the properties xml is a bit more challenging and not really well documented that I know of but it's actually fairly simple. Looking at an xml request like you would submit via provtest for that method like GetProperties
would be sumitted via soap to the web services in the form of
Sample 2: <propertyList><property name="st"/><propertyList>
Now if your are using a .net web refererence, you should be able to pass the propertylist as a string. I would just suggest removing any white space between nodes.