You can export information about the definition of a Service Component Architecture (SCA) composite to a file of your choice.
An SCA composite must be a composition unit in a business-level application.
This topic describes how to export a composite definition using scripting.
You might export a composite definition before updating SCA business-level applications or before migrating to a later version of the product.
After the exportSCDL command runs, information about the composite definition in the SCA domain is written to the specified file. The product displays the following message:
The SCA Composite (SCDL) has been exported successfully.
You can view the same composite definition information in the administrative console. Click
.Suppose the HelloWorldAsync business-level application provided as a sample with the product is installed. Run the exportSCDL command to export the composite definition information for the helloworldws composition unit:
Using Jython:
AdminTask.exportSCDL('[ -cuName helloworldws -exportFile /my_file ]')
Using Jacl:
$AdminTask exportSCDL{ -cuName helloworldws -exportFile /my_file }
Running the exportSCDL command writes composite definition information resembling the following to the specified file:
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" targetNamespace="http://helloworld" name="helloworldws"> <component name="AsynchTranslatorComponent"> <implementation.java class="helloworld.impl.AsynchTranslatorComponent" /> <service name="AsynchTranslatorService"> <interface.java interface="helloworld.AsynchTranslatorService" callbackInterface="helloworld.HelloWorldCallback"/> <binding.ws/> <callback> <binding.ws/> </callback> </service> </component> </composite>
Examine the exported file to ensure that it contains the intended information.
In this information ...Related concepts
Related tasks
| IBM Redbooks, demos, education, and more(Index) |