Missing abstract tag in WSDL and corresponding generated proxy in WCF 4.0 RRS feed

  • Question

  • I have a base abstract class

    public abstract class ABC(){


    I have a child class

    public class XYZ : ABC {


    and Request class is:

    public class Request{

    public ABC PropertyA {get;set;}


    My OperationContract is:

    Response Process( Request request);

    when I generate the corresponding wsdl and proxy class, I DO not get ABC class as abstract.

    This means on Client side user can create instance of ABC class, which is nit the expected behavior. How to resolve this?

    Thursday, August 14, 2014 5:02 PM