Copying artifacts from one project into another
This recipe will show how to copy artifacts from one OSB project into another OSB project. This is useful for duplicating artifacts in order to reuse them.
We will use the same project as in the previous recipe, with one proxy service calling another proxy service.
Getting ready
Import the base OSB project for this recipe from here: \chapter-2\getting-ready\copying-artifacts-from-project-to-other
.
How to do it...
Let's see how we can copy the proxy, wsdl
and xsd
artifacts into another OSB project. For that we first create a new OSB project in the same OSB configuration and then copy the artifacts. In Eclipse OEPE, perform the following steps:
Create a new OSB project and name it copy-of-artifacts.
Select the proxy, wsdl, and xsd folder with a multiselect in the copying-artifacts-from-project-to-other project, right-click and select Copy.
Right-click on the copy-of-artifacts project and select Paste.
The artifacts are copied into the new OSB project...