I am trying to create a wlst script using the configjar tool to perform an export of the osb config before new deployment. I have read the documentation published on this tool with focus on <configjarSettings file. I have tried to use the config with the export of several osb projects. I have also used to create a jar fil for 1 project. The problem is that when trying to import the result form the export i get several errors. A summary of errors on import in the osb console is :
wsdl schema error :
The business and proxy service does not import because proxy and business in the exported jar file from configjar contains .xml (should be.proxy or .biz).
Here is the config used :
<configjarSettings xmlns="http://www.bea.com/alsb/tools/configjar/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/alsb/tools/configjar/config ../../../../../../temp/configjarSettings.xsd">
<source>
<project dir="C:\Apps\Oracle\configuration\domains\IpDomainDev\osb\config\core\app.ark.prescriptioninfo" />
<project dir="C:\Apps\Oracle\configuration\domains\IpDomainDev\osb\config\core\app.ark.webshopprescription" />
</source>
<configjar jar="C:\dev\ip\tools\osb-export-all-config\sbconfig-resources.jar">
<projectLevel includeSystem="false" />
</configjar>
<configjar jar="C:\dev\ip\tools\osb-export-all-config\app.ark.prescriptioninfo.jar">
<projectLevel includeSystem="false">
<project>app.ark.prescriptioninfo</project>
</projectLevel>
</configjar>
</configjarSettings>
Are there another way to do this ?