Solved

WCF Service Reference not updating properly

Posted on 2008-10-14
2
1,159 Views
Last Modified: 2012-05-05
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!
0
Comment
Question by:craigdev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 26

Accepted Solution

by:
Anurag Thakur earned 500 total points
ID: 22710092
the following link provides some details as how to update the references - let me know if it was helpful
http://geekswithblogs.net/MainaD/archive/2008/02/04/119287.aspx
0
 
LVL 1

Author Comment

by:craigdev
ID: 22710148
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.


0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
itextsharp with c# 3 33
c#, case, if 4 37
Can Selenium do Load Testing? 2 59
VS C# how to design libary of functions 7 33
In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question