Sorry, If It is a stupid question but I am new to WCF. I have a C# project in which, I am loading a XML document (contains name of students and Id) using Linq to xml and I have to get the associated data (their due date, amount and stuff ) from a WCF service (a link is given).

How do I get the associated data from WCF service ? Do I just right click and add service reference.

Effectively...yes.

You need to add a service reference to the WCF service in question. This will generate a "client" class for you. Use this client class to connect with the service. It will have the same methods on that your service does and you can call them normally just like another method in your application.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.