Hi
I'm new to RESTful web services. I've created a RESTful web service. I need to wrap the response and requests. The contract is
[WebGet(ResponseFormat = WebMessageFormat.Xml, UriTemplate = "/vacancies/{ID}", BodyStyle = WebMessageBodyStyle.Wrapped, RequestFormat = WebMessageFormat.Xml)] [OperationContract] DataTable GetVacancyInXml(string ID);
With a similar contract, I've a POST method also. But, I'm unable to POST the data for this contract. If I remove the BodyStyle, everything works fine.
Advance Thanks.