Soap messaging is a lightweight soap protocol for services to exchange documents. It is less complicated than the soap RPC protocol and is less common, but it works very well for running instances of Component-X to communicate with each other.
The components typically used for soap messaging are:
To make a soap call to another copy of studio take the document that will be sent and first use an addRoot to add an extra root tag to match the role property of the subscriber that you want to receive the document. Then use a makeSoap component to apply the soap wrapper and then a soapSocket to make the call to other process and return the returned document.
To receive the soap call add a soapPublisher (for testing purposes only, for deployment install the soap servlet) and configure a subscriber with correct role and tag properties to correctly match to the incoming request. By default the soapPublisher will return the document without any XSL transformation tags even if one is specified in the subscriber, to change this you must set the XSL property of the soapPublisher to true.
Connect the inputs and outputs of the components to the rest of your applications as needed.