Does MTOM require a messageContract in WCF?
Question
Is there any way use datacontracts while using Mtom?
Solution
There's nothing preventing you from using data contracts with MTOM.
OTHER TIPS
no, but the only thing in the body of the message must be the file. if you have more than one parameter in the method, you must use a message contract because you have to specify where the things will go, on the header or on the body. This way you can put only the file in the body.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow