I've a WCF service where the [DataContrat] is used as attribute. It works perfectly. Sometime we return byte as one of the response object. This slows down. Hece [MessageContract] is used for SOME response objects to return STREAM.
I tested a simple WCF service with [MessageContract] alone and it works well.
But while integrating with my application, as it contains [DataContract] and [MessageContract] in same WCF service there are some error throws. It changes the singnature of the methods who has [DataContract].
How to resolve the above issue? Please do guide me.