I am trying to create a custom Windows Phone app for dynamics AX 2012.

I developed my rest service, and now I use fiddler to test it.

But I keep getting the error "405 method not allowed". What am I doing wrong? I followed the expense example.

Things I noticed:

- My service is online, because when I shut it down, fiddler returns me another error.

- My Servicebus is up and running, as I can see it on the Azure portal.

This is the operation I am trying to call in C#

//UriTemplate = "GetEmployees?Action=Get", // URI:"https://<MyBus>.servicebus.windows.net/GetEmployeesRest/GetEmployees?Action=Create"
UriTemplate = "GetEmployees?Action=Create", 
RequestFormat = WebMessageFormat.Json,
ResponseFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.WrappedRequest)]
public DEVEmployee[] GetEmployees()


My url configured in the app.config is:

<add baseAddress="https://<MyBus>.servicebus.windows.net/GetEmployeesRest/"/>

The way I call it then is:


With an authentication header.

Does someone know what I am doing wrong?

Thanks in advance.