Deploying Agreements Oracle Fusion Middleware Online Documentation Library

B2B Command-Line Tools 19-13 2. Trading Partner selfservice XML files HOST must be first in this list. 3. Trading Partner Agreement selfservice XML files. For example: 1. doc_selfservice.xml to hold Document Protocols. 2. tp_selfservice.xml to hold Trading Partner details. 3. tpa_selfservice.xml to hold Agreements details. Example 19–24 Converts Several b2bselfservicexsd-Generated XML Files Within a Folder to an Oracle B2B Metadata ZIP file stored in tmpas11b2b.zip ant -f ant-b2b-util.xml b2bselfservice -Dinput=folder -Doutput=tmpas11b2b.zip

19.11.2 Using Self Service Samples

Self service utility b2bselfservice XML samples are bundled along with its schemas and ECS files, which are together with the B2B metadata of B2B Samples configuration. Self service samples are found in samplesselfservice folder. Samples are not available for all of the document and exchange protocol combinations. However, by replacing the document protocol details and exchange protocol details in the existing samples, you can create new XML files. X12 Samples The X12 samples are located in: samples selfservicex12b2b-201-X12_4010_850_Filex12_ss.xml The schemas are located in: samples selfservicex12b2b-201-X12_4010_850_Fileschemas Use the following command: ant -f ant-b2b-util.xml b2bselfservice -Dinput=samplesselfservicex12b2b-201-X12_4010_850_Filex12_ss.xml Custom Samples The Custom samples are located in: samples selfservicecustomb2b-101-Custom_1.0_orders_generic_filecustom_ss.xml The schemas are located in; samples selfservicecustomb2b-101-Custom_1.0_orders_generic_fileschemas Use the following command: ant -f ant-b2b-util.xml b2bselfservice -Dinput=samplesselfservice custom\b2b-101-Custom_1.0_orders_generic_filecustom_ss.xml Note: Self service XML files can also be created using the XSD, which is useful for the advanced user who wants to start from scratch. 19-14 Oracle Fusion Middleware Users Guide for Oracle B2B ebMS Samples The ebMS samples are located in: samples selfservicecustom b2b-106-Custom_1.0_orders_ebMSbuyer_setup_selfservice ebms_buyer_ss.xml The schemas are located in: samples selfservicecustom b2b-106-Custom_1.0_orders_ebMSbuyer_setup_selfserviceschemas Use the following command: ant -f ant-b2b-util.xml b2bselfservice -Dinput=samplesselfservicecustom b2b-106-Custom_1.0_orders_ebMSbuyer_setup_selfservice ebms_buyer_ss.xml

19.12 Resubmitting a Message

The following utility resubmits an application message or a wire message for a selected business message. ant -f ant-b2b-util.xml b2bresubmit Table 19–13 lists the options for this utility. Note: The resubmit functionality for payload rectification will only work for Outbound Message for AppMessage only. This is not valid for inbound cases. ant -f ant-b2b-util.xml b2bresubmit -Dmsgsource=appMsg -Dmsgid=12345 -Dpayloadpath=scratchviramamofmwhomeAS11gR1SOAbin3a4_req.xml Table 19–13 Options for b2bresubmit utility Option Description Domain Required direction The direction of the message INBOUND OUTBOUND Yes msgsource The message source APPMSG WIREMSG Yes msgid The message ID - Yes doctype Document Type msgstate Message State fromdate The sendTimestamp of the message Date format to be provided within Double Quotes dd-mm-yyyy hh:mm AMPM todate The sendTimestamp of the message agreement Agreement Name