serialization - WCF Polymorphism in service contract -
i trying create service operation accepts, parameter, object implements specific interface. have thought easy accomplish, running problems (what guessing serialization problems not certain). have following contract: //unsustainable because need method each of (currently) //3 student types, plus have 2 more root categories have multiple subtypes public interface iemailtemplateaccess { [faultcontract(typeof(validationfault))] [faultcontract(typeof(errorresponse))] [operationcontract] [transactionflow(transactionflowoption.allowed)] templateresponse getstudenttemplate(itemplaterequest request); } and like: public interface iemailtemplateaccess { [faultcontract(typeof(validationfault))] [faultcontract(typeof(errorresponse))] [operationcontract] [transactionflow(transactionflowoption.allowed)] templateresponse gettemplate(itemplaterequest request); } in service use abstract factory return correct template based on type of request comes...