Last post Dec 18, 2014 06:48 AM by PatriceSc
Dec 18, 2014 06:23 AM|Ashim Chatterjee|LINK
I have created a web service in an mvc 4 razor syntax project and the service is being called from windows application.So all the web methods are getting called as i was returning a string type value.But i have webmethod which returns an object of complex
data type (class).How can i communicate with this ???
Dec 18, 2014 06:48 AM|PatriceSc|LINK
Do you have a particular problem when trying? What is your current approach? Try maybe:
http://www.asp.net/web-api/overview/advanced/calling-a-web-api-from-a-net-client (in short, if your class is made of simple types, it is just transmitted by serializing each value in turn rather than a single value and it is handled out of the box).
What is the exact point at which you are stuck?