Hi
I am trying to use Exchange Server 2007 Web Services, has anybody worked on
it, my code is giving exception in exchangeServer.GetFolder(myfoldertype);
method as
System.Net.WebException was unhandled
Message="The request failed with HTTP status 405: Method Not Allowed."
Source="System.Web.Services"
StackTrace:
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at
ConsoleApp.com.microsoft.mail.ExchangeServiceBinding.GetFolder(GetFolderType
GetFolder1) in C:\GSM\AIMS\Development\TestApplication\ConsoleApp\Web
References\com.microsoft.mail\Reference.cs:line 427
at ConsoleApp.Program.ReadEmail() in
C:\GSM\AIMS\Development\TestApplication\ConsoleApp\Program.cs:line 53
at ConsoleApp.Program.Main(String[] args) in
C:\GSM\AIMS\Development\TestApplication\ConsoleApp\Program.cs:line 14
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
{"The request failed with HTTP status 405: Method Not Allowed."}
I have not clue about this error.
Any help is greatly appreciated
Henning Krause [MVP - Exchange] - 05 Apr 2007 07:47 GMT
Hello,
could you please post your code that produces this exception? And what URL
are you using to call the webservice?
Best regards,
Henning Krause
> Hi
> I am trying to use Exchange Server 2007 Web Services, has anybody worked
[quoted text clipped - 35 lines]
>
> Any help is greatly appreciated