Solved

Is there a better way to describe Contracts for child classes

Posted on 2011-09-30
6
178 Views
Last Modified: 2012-05-12
Is there a better way than having to add a knowntypeattribute for child classes to the base class?
0
Comment
Question by:modotx
  • 3
  • 3
6 Comments
 
LVL 18

Expert Comment

by:DarrenD
ID: 36899691
0
 

Author Comment

by:modotx
ID: 36910709
This almost works.  The problem I seem to be having is when the operation is returning a generic interface type (i.e. IList(Of BaseType)).  Any ideas?
0
 
LVL 18

Expert Comment

by:DarrenD
ID: 36910828
Hi,

You may have to change the Collection Type: which appears when you right click the service in VS and choose Configure Service Reference. Change Collection Type to System.Collections.Generic.List

Not sure, but might help

Darren
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:modotx
ID: 36911649
Isn't that for configuring the client?  Right now I am testing it using the WCF Test Client.  Is there a way to configure that?
0
 
LVL 18

Accepted Solution

by:
DarrenD earned 250 total points
ID: 36915624
0
 

Author Closing Comment

by:modotx
ID: 36956099
Thank you
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now