Importing Data Oracle Fusion Middleware Online Documentation Library

19-10 Oracle Fusion Middleware Users Guide for Oracle B2B Table 19–8 lists the options for this utility. Example 19–18 Creates a Property File Template That Is Used in the propfile Option ant -f ant-b2b-util.xml b2bcreate-cpaprop

19.9.1.1 Properties of cpp_cpa.properties

The following properties can be configured as part of the cpp_cpa properties file: ■ CPA Import Properties ■ CPA Export Properties ■ Common Properties

19.9.1.1.1 CPA Import Properties The CPA import properties are as follows:

oracle.tip.b2b.ebms.BPSSDocument Optional Property This property holds the absolute path for the BPSS document, which is used to get the BPSS document details to be imported into the Oracle B2B repository. If the property does not exist, then the values are imported from the CPA document. Multiple BPSS documents are separated by ; semi-colon. oracle.tip.b2b.ebms.CPADocument Required Property This property is used to get the absolute path of the CPA document to be imported into the Oracle B2B repository. oracle.tip.b2b.ebms.xsdLocation Optional Property This property is used to specify the absolute path of the schema file location. This schema file is used for document validation. It is used only when a BPSS document is specified. oracle.tip.b2b.ebms.internalDeliveryChannel.protocol Optional Property The default internal delivery channel is an AQ queue. If you want to add a specific internal delivery channel JMSFTPFILESFTP, then this property is used in Oracle B2B configuration. Specify all the required properties with respect to the specific transport protocol. Then use the specific channel to send messages to back-end applications.

19.9.1.1.2 CPA Export Properties The CPA export properties are as follows:

oracle.tip.b2b.ebms.OutputFolder Required Property This property is used to place the generated CPPCPA files in the specified location. oracle.tip.b2b.ebms.Host Required Property This property is used to set the host trading partner. oracle.tip.b2b.ebms.HostEndPoint Required Property This property is used to set the host endpoint while generating the CPPCPA export. oracle.tip.b2b.ebms.HostCertificateAlias Optional Property For secure message transfer, this property is used to get the host certificate details to the CPPCPA export. Table 19–8 Options for b2bcreate-cpaprop utility Option Description Domain Required propfile Property file that stores configuration details for b2bcpaimport and b2bcpaexport - Yes B2B Command-Line Tools 19-11 oracle.tip.b2b.ebms.TPCertificateAlias Optional Property For secure message transfer, this property is used to get the trading partner certificate details to the CPPCPA export. oracle.tip.b2b.ebms.BPSSExport Optional Property This Boolean property is used to generate the BPSS document.

19.9.1.1.3 Common Properties The common properties are as follows:

oracle.tip.b2b.ebms.LogDirectory Required Property This property is used to store the log files. oracle.tip.b2b.ebms.LogLevel Required Property This property is used to specify the mode of the logs, such as DEBUG, INFO, or ERROR. oracle.tip.b2b.ebms.LogType Required Property This property is used to specify whether the log file is stored as text or XML.

19.9.2 CPPCPA Import

The following utility converts an ebXML standard cpa.xml file to an Oracle B2B metadata file, which must then be imported into Oracle B2B. ant -f ant-b2b-util.xml b2bcpaimport Table 19–9 lists the options for this utility. Example 19–19 Converts CPA-Formatted XML to an Oracle B2B ZIP File ant -f ant-b2b-util.xml b2bcpaimport -Dpropfile=tmpcpp_cpa.properties

19.9.3 CPPCPA Export

The following utility converts an Oracle B2B metadata file data exported from Oracle B2B to an ebXML standard cpa.xml file a CPA-ready configuration. ant -f ant-b2b-util.xml b2bcpaexport Table 19–10 lists the options for this utility. Example 19–20 Converts an Oracle B2B ZIP File to a CPA-Formatted XML File ant -f ant-b2b-util.xml b2bcpaexport -Dpropfile=tmpcpp_cpa.properties Table 19–9 Options for b2bcpaimport utility Option Description Domain Required propfile Property file that stores configuration details for b2bcpaimport and b2bcpaexport - Yes Table 19–10 Options for b2bcpaimport utility Option Description Domain Required propfile Property file that stores configuration details for b2bcpaimport and b2bcpaexport - Yes