Synchronizing the interfaces and references between components and implementations

After a component in the assembly diagram has been associated with an implementation, the interfaces and partner references must be kept synchronized. The assembly editor in WebSphere Integration Developer provides a mechanism that allows you to maintain this synchronization.

After you have generated an implementation, you may decide to modify the interfaces or references on a component in an assembly diagram or on its implementation. Here are some changes that might cause the interfaces and references in the assembly diagram to be no longer synchronized with the implementation:

Similarly, you might make changes to an existing implementation. When you make changes to the implementation using the implementation editor, you are not actually changing the SCA interfaces or references used in the assembly editor. However, you might be adding, removing, or changing features that equate to SCA interfaces and references. Until you synchronize from the implementation, a feature in an implementation that equates to either an SCA interface or an SCA reference will only exist in the implementation. The interfaces and references in the assembly diagram still need to be updated to match the implementation. When the interfaces and partner references on the component do not match the corresponding features in the implementation, the assembly editor displays an error on the component for each mismatch.

To remove the errors by synchronizing a component with its implementation, you must first decide which has the most up-to-date information. If you made changes to the implementation in the implementation editor, you probably want to synchronize the interfaces and references from the implementation to the component. If you made changes to the component in the assembly editor, you probably want to synchronize the interfaces and references to the implementation from the component.

Synchronize interfaces and references from the implementation

If the interfaces and references on the implementation are the most current ones, follow these steps to synchronize from the implementation:

  1. In the assembly editor, right-click on the component.
  2. In the pop-up menu, select Synchronize interfaces and references > from implementation .
  3. If a message prompts you to save all editors, click OK to continue.

Synchronize interfaces and references from the implementation

If the interfaces and references on the component are the most current ones, follow these steps to synchronize to the implementation:

  1. In the assembly editor, right-click on the component.
  2. In the pop-up menu, select Synchronize interfaces and references > to implementation.
  3. If a message prompts you to save all editors, click OK to continue.
When the operation completes, the interfaces and references on the component and implementation should be synchronized and related errors will have been removed from the component.