Alok Kumar
Alok Kumar

Reputation: 21

Consuming a WCF service by a WPF client

I have created a wcf service and trying to consume by a wpf client. I am unable to see data in datagrid of my wpf client..Here is the code of both wcp & wpf

I have attached all the details in the following url..pls check it out n help me.. http://pastebin.com/8cVKrqci

Upvotes: 0

Views: 851

Answers (1)

Shiraz Bhaiji
Shiraz Bhaiji

Reputation: 65461

There are 4 basic possibilities here:

  • You are not calling the WCF service
  • You are calling the WCF service but it is not returning any data
  • You are not binding the data to your datagrid
  • The datagrid is not refreshing after the data has been bound

You need to put some logging in your code to identify the problem.

Edit

Based on the comments, your problem is that the service is not running on the address that you are using.

Upvotes: 2

Related Questions