Description Syntax Examples sca_exportComposite

Oracle SOA Suite Custom WLST Commands 9-19

9.9 SOA Composite Application HTTP Client-Based Export and Import Commands

Use the SOA composite application commands, listed in Table 9–9 , to export and import SOA composite applications based on the HTTP client. The SOA Infrastructure must be running to use these commands.

9.9.1 sca_exportComposite

Command Category: Application Export and Import Commands Use with WLST: Offline

9.9.1.1 Description

Exports a SOA composite application into a SAR file.

9.9.1.2 Syntax

sca_exportCompositeserverURL, updateType, sarFile, compositeName, revision, [user], [password], [partition] Table 9–9 SOA Composite Application Export and Import Commands for WLST Configuration Use this command... To... Use with WLST... sca_exportComposite Export a SOA composite application into a SAR file. Offline sca_exportUpdates Export postdeployment changes of a SOA composite application into a JAR file. Offline sca_importUpdates Import postdeployment changes of a SOA composite application. Offline sca_exportSharedData Export shared data of a given pattern into a JAR file. Offline sca_removeSharedData Removes a top-level shared data folder. Offline Argument Definition serverURL URL of the server that hosts the SOA Infrastructure application for example, http:stabc:8001. updateType Type of postdeployment changes to be exported: ■ all: Includes all postdeployment changes. ■ property: Includes only property postdeployment changes binding component properties, composite properties such as audit level settings and payload validation status, and policy attachments. ■ runtime: Includes only runtime rules dictionary and domain value maps DVMs and metadata postdeployment changes. ■ none: Exports the original composite without any postdeployment changes including property changes and runtime changes. sarFile Absolute path of a SAR file to generate a .jar file that begins with sca_. compositeName Name of the composite to export. revision Revision of the composite to export. 9-20 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

9.9.1.3 Examples

The following example exports the composite without including any postdeployment changes. wls:offlinemydomainServerConfig sca_exportCompositehttp:stabc:8001, none, tmpsca_HelloWorld_rev1.0.jar, HelloWorld, 1.0 The following example exports a composite with all postdeployment updates. wls:offlinemydomainServerConfig sca_exportCompositehttp:stabc:8001, all, tmpsca_HelloWorld_ rev1.0-all.jar, HelloWorld, 1.0 The following example exports a composite with property postdeployment updates. wls:offlinemydomainServerConfig sca_exportCompositehttp:stabc:8001, property, tmpsca_HelloWorld_ rev1.0-prop.jar, HelloWorld, 1.0 The following example exports a composite with runtimemetadata postdeployment updates. wls:offlinemydomainServerConfig sca_exportCompositehttp:stabc:8001, runtime, tmpsca_HelloWorld_ rev1.0-runtime.jar, HelloWorld, 1.0 The following example exports a composite in the myPartition partition without including any postdeployment updates: wls:offlinemydomainServerConfig sca_exportCompositehttp:stabc:8001, none, tmpsca_HelloWorld_rev1.0.jar, HelloWorld, 1.0, partition=myPartition

9.9.2 sca_exportUpdates