Testing and Viewing Results

How to:

This section describes how to test and view the results.

Procedure: How to Test the AS2 Communication Process

To test the AS2 Communication Process:

  1. Navigate to Registry, Channels in the iSM console.

    The Channels pane is displayed.

  2. Select both IWAY.NAS2.Sender and PARTNER.NAS2.Receiver, then click Build, as shown in the following image.


  3. Once the build completes, navigate to Deployments, Channels.

    The Channel Deployment pane is displayed.

  4. Click Deploy.
  5. Select IWAY.NAS2.Sender and then click Deploy.
  6. Once IWAY.NAS2.Sender is deployed, repeat the same process for PARTNER.NAS2.Receiver.
  7. After deploying the channels, select them both and click Start, as shown in the following image.


  8. Drop any XML document to the C:\NAS2_Demo\Input\ location.

    The input_doc.xml document is provided as sample input in the same folder.

  9. Copy the document and give it a .as2 extension.

    Since the File Listener on the Sender is listening for the .as2 extension, if it is given that extension, it will be picked up and processed.

    The following files will be displayed once everything is completed:

    • C:\NAS2_Demo\Output\IWAY\MDN_***.txt

    • C:\NAS2_Demo\Output\IWAY\QA_after_MDN_recieved_***.txt

    • C:\NAS2_Demo\Output\IWAY\QA_before_NAS2_emit_***.txt

    • C:\NAS2_Demo\Output\PARTNER\QA_After_MDN_isSend_***.txt

    • C:\NAS2_Demo\Output\PARTNER\received_as2_doc_***.xml