A method, system, and computer program code for integrating components
with different interfaces in an enterprise application integration
environment. When an enterprise application is assembled, a user may try
to wire a component to another component in the enterprise. However, if
the reference on the source component does not match the interface on the
target component, the components cannot be wired together. In this
situation, the user is prompted to introduce an interface mediation
component between the source and target application components. The
mediation component comprises an interface matching the reference on the
source component and a reference matching the interface on the target
component. The mediation component mediates the different interfaces at
runtime by binding an operation in the source component to an operation
in the target component, and performing a parameter mediation of
parameters in the first operation to parameters in the second operation.