Take a project interchange of the service mediation and library projects and use them. Do NOT perform these operations on code in clearcase.
Refactoring the Mediation Module
In Busıness Integration view:
-right click on the mediation project, refactor its name to reflect the new service version.
-under the mediation project > Integration Logic > Mediation Flows refactor the mediation flow implementation to reflect the new service version.
In the Assembly Diagram:
-refactor the mediation component name to reflect the new service version.
-click on an empty location, go to Properties view and click “Repair Name”, to fix the name of the mediation module.
Close/Open the mediation project at this point if the builder gives any error like ConcurrentModificationException.
Refactoring the Interface Library
We will first refactor the old library to the new service version and then drop this library and replace it with the real library. This trick saves us from hundreds of string replacements in mediation implementation files.
In Busıness Integration view:
-right click on the library project, refactor its name to reflect the new service version.
-under Web Service Ports refactor the service namespace to reflect the new service version.
-under Interfaces refactor the service namespace and name of the interface to reflect the new service version.
-under Data Types right click on one of the input output data types and refactor its namespace to reflect the new service version. Accept if the IDE warns you about other types that will also be affected.
Replace the library with the desired one
-Delete the refactored library project from workspace. It is not needed anymore.
-Import the new library project.