We can use SOAP nodes with SOAP message domain OR HTTP transport nodes with XMLNSC message domain to implement Web Services. Several advantages exist if we use SOAP nodes:
- Support for WS-Addressing, WS-Security and SOAP headers.
- A common SOAP logical tree format, independent of the bitstream format.
- Runtime checking against WSDL.
- Automatic processing of SOAP with Attachments (SwA). (Although the HTTP nodes can process SwA messages, we must use the MIME message domain)
- Automatic processing of Message Transmission Optimization Mechanism (MTOM).
Cases where it might be better to use HTTP nodes include:
- Message flows that interact with Web services that use different standards, such as REST or XML-RPC. (We don’t have a WSDL definition)
- Message flow that never use WS-Addressing, WS-Security, SwA, or MTOM.