Last post Sep 27, 2007 08:07 AM by Dhaliwal
Nov 19, 2006 04:06 PM|ultracrystal|LINK
I am currenlty working on a project that requires me to provision Exchnage for a customer. The customer is currently familiar with the concept of MailBoxPlans which is part of Microsoft Provisionng Service. I am under the understanding that MPScan also
handle requests from rmote computers through SOAP. Herein lies my problem. How to I send SOAP request to MPS? Of my limited knowledge of MIcrosoft's solution to web services, it is my understanding that I need to connect to IIS. However, I am not sure
which web site i need to POST SOAP message to? How do I determine this infomaton? Any hepl would be greatly appreciated. PS The customer is not very knowlegeable with MIcrosoft products. I do have remote access to their server.
Nov 19, 2006 06:06 PM|ziemekb|LINK
My advice: install solution at Your environment and check everything "manually". And check how it is done by MPSSampleWeb and MPSSampleCP.
Generally SOAP request go to https://prov01/MPSWS/. You are interested in /MPSWS/ManagedActiveDirectory.asmx and /MPSWS/HostedExchange.asmx
Nov 19, 2006 07:13 PM|ultracrystal|LINK
Thanks for the repsonse.
The problem I am now having is that I keep getting the following response:
<h1>Bad Request (Invalid Header Name)</h1>
I wonder if this may be happening because of security restrictions?
Nov 19, 2006 09:51 PM|ziemekb|LINK
Nov 20, 2006 04:24 AM|Jenni Phillips|LINK
What programming language are you using? If you using .NET the easiest way is bypass SOAP, and just add a web reference, once you do that you will be able to call it as a method like any other assembly. Once you've done that .NET handles all the SOAP conversion
in the background leaving you to get on with writing your code.
For a quick example have a look here
It doesnt include the authentication part, but I can give you an example for that if needed, which it will be for most MPS calls.
Nov 20, 2006 09:29 AM|ultracrystal|LINK
I wish I was using .NET. Unfortunately I am constrained to Java. I'm doing pretty good now though. My only problems seem to be cause by IIS configuration issues. In particular security settings.
Thanks for the help everyone
Nov 20, 2006 02:15 PM|DGaikovoi|LINK
Feel free to bring you problems to our attention :-)
Nov 20, 2006 03:42 PM|ultracrystal|LINK
I figure I'll keep posting my adventure for others to learn from.
I am now able to send SOAP requests to MPS and receive actual repsonses! Unfortunately, late last night, the system crapped out on me and now my connections are always getting dropped. I'm going to install the SP1 patch on the servers as I hear this may
resolve an issue which involves MoM dropping connections if they take more than a second.
Sep 27, 2007 08:07 AM|Dhaliwal|LINK
I am in the same situation and having the same problem...The webservice is in ASP.NET and i am using this webservice as a client through a j2me application. and i am getting the error
Bad Request(Invalid Header)
How can i solve this problem...... I would really appreciate that.