Purging Data Oracle Fusion Middleware Online Documentation Library

B2B Command-Line Tools 19-9 Table 19–6 lists the options for this utility. Example 19–14 Deploys the Agreements Acme_GC_Agreement1 and GC_Acme_Agreement1 ant -f ant-b2b-util.xml b2bdeploy -Dtpanames=Acme_GC_Agreement1,GC_Acme_Agreement1

19.8 Validating B2B Metadata

The b2bvalidate utility validates Oracle B2B metadata, including agreements, trading partners, and documents. All agreements are validated if no options are specified. ant -f ant-b2b-util.xml b2bvalidate [-Dargs=comma_separated_argumants] Table 19–7 lists the options for this utility. Example 19–15 Validates All Agreements ant -f ant-b2b-util.xml b2bvalidate Example 19–16 Validates Agreement tpa_ID1234.xml ant -f ant-b2b-util.xml b2bvalidate -Dargs=tpa_ID1234.xml Example 19–17 Validates Trading Partner tp_MyCompany.xml and Agreement tpa_ID1234.xml ant -f ant-b2b-util.xml b2bvalidate -Dargs=tp_MyCompany.xml,tpa_ID1234.xml

19.9 Using the ebXML CPPCPA Utilities

The ebXML CPPCPA utilities convert to and from a standard ebXML CPA file in the Oracle B2B metadata.

19.9.1 Creating CPPCPA Properties Templates

The b2bcreate-cpaprop utility creates a property file template that can be customized and then used to supply parameters for the b2bcpaimport and b2bcpaexport utilities. The following usage creates a cpp_cpa.properties template file, which is used in the propfile option. ant -f ant-b2b-util.xml b2bcreate-cpaprop Table 19–6 Options for b2bdeploy utility Options Description Domain Required tpanames One or more names of agreements to be deployed Agreement names must be separated by a comma No Table 19–7 Options for b2bvalidate utility Options Description Domain Required args File names of the trading partner, agreement, or document protocol File names must be separated by a comma Yes 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