Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Applications / April 2007

Tip: Looking for answers? Try searching our database.

Using  Exchange Server 2007 Web Services

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mak - 05 Apr 2007 01:56 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.