This documentation is archived and is not being maintained.

RoutingConfiguration.SoapProcessingEnabled Property

Gets or sets a value that indicates whether messages should be processed between SOAP MessageVersions.

Namespace:  System.ServiceModel.Routing
Assembly:  System.ServiceModel.Routing (in System.ServiceModel.Routing.dll)

public bool SoapProcessingEnabled { get; set; }

Property Value

Type: System.Boolean
true if messages should be processed; otherwise, false. The default value is true.

SOAP processing is the process where messages are converted between SOAP MessageVersions.

Setting this value to false indicates that the RoutingBehavior should not install the SoapProcessingBehavior on the client endpoints. If set to false, you must add your own message inspector or other code to handle some aspects of messages before they are sent. It is also possible to disable SOAP processing on each endpoint. For more information, see the SoapProcessingBehavior class.

By default, the RoutingBehavior creates and attaches a new SoapProcessingBehavior with ProcessMessages set to true for each client endpoint. If you do not want to use the SoapProcessingBehavior on a specific endpoint, create a new SoapProcessingBehavior with this value set to false and then attach it to the endpoint on which you do not want processing to occur. If the RoutingBehavior observes that a client already has a SoapProcessingBehavior, it does not attempt to attach another.

To disable the application of SoapProcessingBehavior on any endpoint, disable SOAP processing on the RoutingBehaviorand the RoutingConfiguration.

If SoapProcessingEnabled is true, the SoapProcessingBehavior is added to the client endpoint Behaviors collection.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.