I have have a WCF service with a PostData operation contract. This method takes in a string. This string should be one of 3 objects seriazlised. I have created 2 classes for these objects and decorated them with [DataContract] and [DataMembers].
Because I do not reference these classes in the PostData Operation contract, they are not showing up in the WSDl. Inwould like the client to be able to create an instance of one of these classes and then pass the serialised object in the PostData. This would save me from creating 3 distinct OperationContracts.
Is this possible?
THanks