According to the link below, the .NET 2.0 w/ WSE 3.0 server supports a feature like this:
<quote from link> Note: There are three server MTOM modes: "optional", "always", and "never". Always means that the service "always" requires MTOM messages from the client and will "always" return response messages using MTOM. Never means that MTOM will never be used-and the service will reject MTOM requests. Optional (the default) means the service will respond in kind to the type of message sent by the client. So if the client sends an MTOM request, it will respond with an MTOM response. </quote from link> http://www.agilefactor.com/agiledamon/2006/01/mtom-and-microsoft-web-ser vice.html -Chris -----Original Message----- From: Christopher Moesel [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 10:35 AM To: [email protected] Subject: MTOM "By Request" I don't know if this goes against any specs or is too difficult to implement, but it seems to me that this would be a neat feature: MTOM By Request: - If a request comes in using MTOM, then respond using MTOM. - If a request comes in using text/xml, then respond with test/xml. This way, a single deployed service can support both MTOM-enabled and non-MTOM-enabled clients. Any thoughts? -Chris
