O'Reilly logo

Microsoft® Windows® Communication Foundation Step by Step by John Sharp

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Transmitting Data by Using MTOM

A SOAP message usually contains a message body, which is held in an XML format. This body contains the data for a request being transmitted to a service or the information being returned in response to a request back to a client application. The actual structure of the information in the message body is specified by the WSDL description of the operation, which is in turn derived from the operation contract you specify in your services. For example, the ProductsService service that you created in Chapter 1, defined the ChangeStockLevel operation in the IProductsService service contract like this:

[ServiceContract] public interface IProductsService { ... [OperationContract] bool ChangeStockLevel(string productNumber, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required