Message Export Command Line Tool
The Message Export command line tool is a batch file that extracts transaction data from request and response data, and creates a hierarchical structure of source, service operation, and destination directories in the integration point test data repository.
The Message Export command line tool is located in the PeopleSoft web server domain: MessageExport.bat.
Usage
The standard usage of the Message Export tool is:
MessageExport [-options]
Classpath
The classpath for the Message Export is created in the MessageExport.bat file during installation.
Syntax
The syntax for using the Message Export tool is:
MessageExport -in "C:/temp/input" -out "C:/temp/output" -eip
"c:\temp\eip\eip_prop\eip_crossnode_sync.xml" -result
"C:/temp/output/result.txt"
Note:
Use forward slashes in the directory path structure.
Parameters
The Message Export parameters that you can pass are described in the following table.
| Parameter | Description |
|---|---|
|
-in |
Indicates the input directory, used during recording, that contains all of the request and response files generated from the EIP gateway manager. |
|
-out |
Indicates the location of the directory for the integration point test data repository. |
|
-eip |
Indicates the list of integration point service operation transaction property files, separated by semicolons. This parameter is not required for asynchronous integration points. |
|
-result |
Indicates the name of the file that contains the results of the export process. The contents of this file is represented as XML. |
|
-ow |
(Optional.) Overwrites files if they already exist. |
|
-cd |
(Optional.) Creates the output directory if PeopleSoft Integration Broker does not find it. |
|
-rn |
(Optional.) Specifies the requesting node. You can specify one value only. All other requesting node values in the input directory will be ignored. |
|
-dn |
(Optional.) Specifies the destination node. You can specify one value only. All other destination node values in the input directory will be ignored. |
|
-mn |
(Optional.) Specifies the service operation name, including version. You can specify one value only. The system ignores all other service operation names in the input directory. For releases prior to PeopleTools 8.48 this is the message name. |
|
-mv |
(Optional.) This parameter is only used with PeopleTools releases prior to PeopleTools 8.48. Specifies the message version for the message name that you specified. You can specify one value only. The system ignores all other message versions for the selected message name in the input directory. |
|
-? -help |
(Optional.) Displays the Help menu. |
Output
If an export is successful, the contents of the output file resembles the following contents.
<?xml version="1.0"?>
<success>
<file path="C:\TEMP\eip\export_in\20051128T041615.545.request"
rawfilepath="C:\TEMP\eip\export_out\QE_LOCAL\QE_SALES_ORDER_SYNC.
VERSION_1\V999\QE_IBTGT\20051128T041615.545_48.request"
success="true" transdatafilepath="C:\TEMP\eip\export_out\QE_LOCAL\
QE_SALES_ORDER_SYNC.VERSION_1\V999\QE_IBTGT\request\1.xml"/>
<file path="C:\TEMP\eip\export_in\20051128T041615.545.response"
rawfilepath="C:\TEMP\eip\export_out\QE_LOCAL\QE_SALES_ORDER_SYNC.
VERSION_1\V999\QE_IBTGT\20051128T041615.545_48.response"
success="true" transdatafilepath="C:\TEMP\eip\export_out\QE_LOCAL\
QE_SALES_ORDER_SYNC.VERSION_1\V999\QE_IBTGT\response\1.xml"/>
</success>
If an export is not successful, the contents of the output file resembles the following contents:
<?xml version="1.0"?>
<failure>
<![CDATA[Invalid output directory: C:\Documents and Settings\Jfranco\
Desktop\export]]>
</failure>