The ebXML Message Service (ebMS) is used to transport business documents in a secure, reliable, and recoverable way in the inter-enterprise business collaboration scenario. In case one of the business partners cannot manage ebMS messages (for instance, in the case of legacy systems), the communication is handled via ESB.