Running the 275ToolsDemo on Windows

Perform the following steps to set up and run the 275ToolsDemo on Windows platforms.

Setting up the Demo

  1. Extract TAA_fs-translator-attch-adapter_windows.zip in your TAA directory and access the resulting directory, which contains:
    • Attachment - Directory containing xray.jpg, the file used as an example attachment.
    • ExtractedFiles_5010 - Directory containing dummy.txt, a dummy file needed for .zip file creation. Used for 5010 transactions.
    • ExtractedFiles_6020 - Directory containing dummy.txt, a dummy file needed for .zip file creation. Used for 6020 transactions.
    • Inbound275 - Directory containing sample XML and CDA files needed for 275 creation.
    • 275ToolsDemo_lib - Directory containing 275Tools.jar, and other needed .jar files.
    • Maps - Directory containing specialized Map files used for translation. These map files are copied to the target Translator installation.
    • Outbound275 - Directory used for storage of the created 275. Contains the file dummy.txt. a dummy file needed for .zip file creation.
    • 275ToolsDemo.jar - Java Jar file used to demo 275Tools.
    • Install275Demo.bat - Script file used to install demo.
    • Docs - Documentation files.
  2. Double-click Install275Demo.bat. You are prompted to enter the path to the Translator root directory.

  3. Enter the path to the Translator root directory. Example: C:\tibco64\translator\3.4
  4. Notice that numerous batch files are set up in your 275CmdLine directory:
    • 275ToolsDemo_lib
    • Attachment
    • Docs
    • ExtractFiles_5010
    • ExtractFiles_6020
    • Inbound275
    • Maps
    • Outbound275
    • 275ToolsDemo.jar
    • Create275_5010.bat
    • Create275_6020.bat
    • Extract275_5010.bat
    • Extract275_6020.bat
    • Install275Demo.bat
  5. Continue with the next section, Running the Demo.

Running the Demos

To Create a 5010 275
  1. Double-click Create275_5010.bat.
  2. The CMD window appears while the demo is running. Depending on the size of the attachment, it may take 15-20 seconds to complete.
  3. When the CMD window disappears, navigate to the Outbound275 directory.
  4. The completed 275 transaction appears in this directory as the file 275Out_5010.edi.

    For information about the contents of this file, see "Completed 5010 275X210 Details" in the TIBCO Foresight® Translator Attachment Adapter User's Guide.

To Extract the Attachment from a 5010 275
  1. Double-click Extract275_5010.bat.
  2. The CMD window displays while the demo is running.
  3. When the CMD window disappears, navigate to the ExtractedFiles_5010 directory.
  4. The extracted attachment appears in this directory as the file xray.jpg. CDA header information is contained in the file CDAHeader.xml.

To Create a 6020 275
  1. Double-click Create275_6020.bat.
  2. The CMD window appears while the demo is running. Depending on the size of the attachment, it may take 15-20 seconds to complete.
  3. When the CMD window disappears, navigate to the Outbound275 directory.
  4. The completed 275 transaction appears in this directory as the file 275Out_6020.edi.

    For information about the contents of this file, see "Completed 6020 275X316 Details" in the TIBCO Foresight® Translator Attachment Adapter User's Guide.

To Extract the Attachment from a 6020 275
  1. Double-click Extract275_6020.bat.
  2. The CMD window displays while the demo is running.
  3. When the CMD window disappears, navigate to the ExtractedFiles_6020 directory.
  4. The extracted attachment appears in this directory as the file xray.jpg. CDA header information is contained in the file CDAHeader.xml.