Dear All,
I'm struggling for few hours and I cant make it work:
Here's how my WCF interface looks like:
[OperationContract]
[WebInvoke(UriTemplate = "/UpdateUserProfileProperties", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Bare, Method = "POST")]
boolUpdateUserProfileProperties(Core.Entities.UserProfile userProfileData);
And here's how the WEb Request action looks like:
I'm debugging WCF using Service Trace Viewer but no matter how I change the body, it still does not work.
Whats' the proper way to communicate with JSON WCF webservices ?
Is there any specific way of creating the json body ? or maybe my headers are wrong ?