locked
Does WCF Data Services (Reflection Provider) Supports POST service operation? RRS feed

  • Question

  • Hello,

    I have a requirement to provide authentication using WCF Data Services (Reflection Provider) and wanted to use HTTP POST instead of GET.

    while attempting to do so, I am not able to hit the service method that is tagged as 

    [WebInvoke(Method="POST")]
    public boolean Login(String userName, String password);
    This method during invocation throws 404-Method Not allowed.

    Could you please suggest if this service operation is possible and by what means the respective behavior can be achieved? 

    Thanks in advance.

    ~Jegan Kunniya

    Tuesday, August 21, 2012 9:18 AM

All replies

  • Hi,

    This is definitely supported. Could you please get an HTTP trace of the request and the response? (You can use for example Fiddler for that).

    Thanks,


    Vitek Karas [MSFT]

    Tuesday, August 21, 2012 4:54 PM
    Moderator