Link to home
Start Free TrialLog in
Avatar of craigdev
craigdev

asked on

WCF Service Reference not updating properly

I've changed the return type for a function in a WCF service from a simple object to a List<> of objects. When I update the service reference in the client project using the service, the Reference.cs class still thinks the service returns a single object.

I've tried deleting the service entirely and also updating the service reference. What's likely to be wrong?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Anurag Thakur
Anurag Thakur
Flag of India 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
Avatar of craigdev
craigdev

ASKER

Thanks for the link... I'm using 2008 and the problem was that under "Advanced" in the Add Service Reference screen the Collection type was set to System.Array. When I changed it to Generic.List the problem went away.