Planning Target and Mediation Interfaces
Designing a mediation flow requires planning how services will be exposed by mediation interfaces.
The requirements of the application will drive the design of the mediation flows. There may be a one-to-one mapping of target and mediation interfaces, or you may expose mediation interfaces that are very different from your target interfaces.
For example, you may have target services that are offered from a third party and therefore cannot change the target interfaces. In this case, if you want to offer a service that uses the third-party services but has different operations and message schemas, you must create your own interface/WSDL file describing the service to offer, and use that interface file as the mediation interface.
Before starting your project, consider the requirements of your application, plan and develop the required interfaces, and determine how the mediation interfaces will use the target interfaces.