solution1368
asked on
wcf, and consume <list>
try to consume wcf List <string>, please review the attachment.
cvcc.txt
cvcc.txt
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
Both url you mentioned, I already read long time ago. It does not help me to resolve this question.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It is consumed in c# asp.net
Please show me the code
Please show me the code
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