I have been given a task to display data on an ASP .net page on page load from a WCF web service that returns SOAP XML. I’ve coded the web service, and it succesfully returns a List. The discussion now is down to how I consume the service. Naturally – I feel like I want to do this server-side on PageLoad and populate a table that way. But I get the impression that the whole concept of WCF web services with a SOAP XML response is to provide client-side script to invoke methods to receive these lists? Is it common for WCF web services to be invoke/consumed by C# server-side?
Share
If the Service produces SOAP, consume it on your Serverside.
If it is a JSON (RSS, POX) service you can directly use JavaScript.
But of course the required processing / storage also plays a roll in this decision.