Is there any site or some one can provide me a sample PROFIND request please.
I tried the PROFIND code sample from MSDN but getting 400 Bad request.
Unable to un
Ok I was missing the Depth Header and for that reason the webserver was returning Method Not allowed error.
MSDN clearlystates that A PROPFIND with depth value of "infinity" is not supported in the public store that is accessible to MAPI clients such as Microsoft Outlook.
And the Bad request 404 error was generated because I was not using proxy. So What I did I commented the line which was not using any proxy and added the Depth Header.
// Request.Proxy = GlobalProxySelection.GetEmptyWebProxy();
Request.Headers.Add("Depth", "1");