Specifies the wire format used by outgoing SOAP messages.<microsoft.web.services2> Element
Specifies the wire format used by outgoing SOAP messages. The default is WSE2RTM.
Controls the configuration options defined by WSE.
Use the <compatibility> element to generate SOAP messages that are compatible with a specific release of WSE 2.0.
When a SOAP recipient is expected to return a SOAP response to the SOAP messages sender, WSE returns the SOAP response in the same format as the SOAP request. That is, if a SOAP request is received in WSE2RTM format and the receiving application is running WSE 2.0 SP2, the SOAP response is returned in WSE2RTM format, regardless of the value of the <compatibility> element.
WSE accepts wire formats for the current version of WSE 2.0 and all previous minor releases.
The WSESP1 and WSERTM wire formats are identical.
The following code example causes WSE to generate SOAP messages that are compatible with WSE 2.0 service pack 2.
<configuration> <configSections> <section name="microsoft.web.services2" type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration, Microsoft.Web.Services2, Version=188.8.131.52, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> </configSections> <microsoft.web.services2> <compatibility mode="WSE2SP2" /> </microsoft.web.services2> </configuration>