none
Is the set method of a property as a DataMember invokable in REST? If yes, then how? RRS feed

  • Question

  • When a property set as a datamember, how to invoke its set method in RESTful service if the object could not be persistent?

    And is it only the problem in REST?

    Sunday, July 8, 2012 3:43 AM

Answers

  • If you expose a method as WebGet or WebInvoke that set the property of a datamember then obviously you can call it using REST API.

    But i dont think you are asking about that. May be you want to expose Setter and Getter of a Property to invoke via REST. That's not possible. You can only access methods or operations via REST api.


    Tanvir Huda Application Architect/Consultant http://thetechnocrate.wordpress.com/

    Monday, July 9, 2012 3:30 AM