John Baugh

John Baugh

  • NA
  • 1
  • 5.1k

REST in WCF: Error 405 (Method not allowed) when communicating between services

Apr 5 2011 3:19 PM
I have a relatively simple setup and am not sure why I'm getting errors when trying to communicate between services.  I am running all of this from within Visual Studio 2010, and have the following scenario:

Consumer(user) calls FirstTierService, which then calls SecondTierService.
SecondTierService should respond with information (a greeting string "Hello, {name}") to the FirstTierService, which then passes this greeting back to the consumer(user).

I'm wondering if I'm missing something in one of the config files, or is there something regarding permissions that I'm missing (and yes, I'm running Windows 7, and I open Visual Studio 2010 in Administrator mode)

This should be straightforward, I would think.

I've attached a zip of my code.

Any ideas?

Attachment: rest_workdir.zip

Answers (1)