Link to home
Start Free TrialLog in
Avatar of solution1368
solution1368

asked on

wcf, and consume <list>

try to consume wcf List <string>, please review the attachment.
cvcc.txt
Avatar of Rikin Shah
Rikin Shah
Flag of India image

Hi,

The method GetStateList is not specified as [OperationContract] I think.

Follow this tutorial to modify whatever is missing in your wcf service code-
http://www.codeproject.com/Articles/42643/Creating-and-Consuming-Your-First-WCF-Service

And this also-
http://www.codeproject.com/Articles/576820/Basic-Step-by-Step-WCF-WebService
Avatar of solution1368
solution1368

ASKER

I don't add the operation contract there because I thought it will be easier for experts to understand what I am trying to do. For sure, the code is working and I tested it in WCF test client already. I just don't know how to consume it :-( in List.

Both url you mentioned, I already read long time ago. It does not help me to resolve this question.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It is consumed in c# asp.net
Please show me the code