I am developing a Restful Web Services using .net(WCF)
.
I followed this link,
But here at the Starting part in WCF test Client at GetData()
when I Enter the Value 13 or 3 its taking and I pressed invoke
But at the URL I am getting No Data..
Actual result:
Till Service1.svc
its Fine But the Value at Get Data should be like below
Expected Result:
But Its not working
I don't what is the problem, Here I am Using VS-2012 Premium.
In example there is "getData/{value}" not "GetData/{value}", not sure but it can be case sensitive. You also can change UriTemplate to "getData/?value={value}", and call it "getData/?value=13"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.