c# - WCF Parameter Value is null -
i'm trying test wcf rest service multiple parameter. 1 value passed parameter, reset null. wrong on code or fiddler. hope can point me right direction.
[operationcontract] [webinvoke( bodystyle = webmessagebodystyle.wrapped, method = "post", requestformat = webmessageformat.json, responseformat = webmessageformat.json, uritemplate = "valid/{id}")] string validateuser(logindetail logindetail,string id); public string validateuser(logindetail logindetail,string id) { //your validation logic return logindetail.username; //always null value }
i got answered @ wcf forum. here answer link
Comments
Post a Comment