Export (0) Print
Expand All

SOAP Service

The COM+ SOAP service allows you to take an existing component and publish it as an XML Web service. Clients can continue to access the component using previous methods, but the component is also accessible using WSDL (Web Services Description Language) and SOAP. For more information about XML Web services and WSDL, see XML Web Services Overview.

For more information about SOAP, see XML Web Service Wire Formats.

The SoapVRoot property, when used in managed code, allows you to expose your managed serviced components through the COM+ SOAP service. Configuring this attribute is equivalent to enabling the SOAP service on the COM+ application that contains a serviced component. The SoapVRoot property contains the name of the virtual root you want to publish as an endpoint. The name is a simple string (for example, "MyVRoot") that is published on the Web server as "http://MyServer/MyVRoot". The SoapVRoot property is set to null if you do not provide a value. The following example shows how to set the SoapVRoot property to "MyVRoot".

<ApplicationActivation(ActivationOption.Library, SoapVRoot := "MyVRoot")>
[C#][ApplicationActivation(ActivationOption.Library, SoapVRoot="MyVRoot")]

See Also

Summary of COM+ Services | System.EnterpriseServices Namespace

Show:
© 2014 Microsoft