Skip to Content
Author's profile photo Vikrant Kaushik

How to Screen AS2 Scenerio’s

This blog will provide help in how we can screen interface developed using seeburger AS2 Adapter. We will be using mec AS2 software for screening AS2 scenario.

m-e-c AS2′ software is available free download in below link,
http://sourceforge.net/project/showfiles.php?group_id=163866

It does not require local admin rights  to install (runs with Java).First step is download mec AS2 from above link and install on your machines, m-e-c AS2 acts as a ‘client’ in order to simulate sending of messages via AS2, from external partners, adavantage it reduces dependency of functional experts on the technical resources when screening AS2 scenarios

Partner’s setup
1.\     With this scenario will describe the setup for simulating GXS sending AS2 messages to ECC
2.\     First we need to setup the sending partner details
3.\     Select the ‘Partner’ icon and create the ‘GXS’ sending partner
4.\      Enter the AS2 ID, which is used here to uniquely identify the sender.

PartnerGXS.jpg

Create receiver Partner

1. Now we need to create the receiver partner ‘SAP D97’ \ as follows

\  \

2. Enter the AS2 ID, which is used here to uniquely \ identify the receiver

\  \

ECC D97.jpg

3.\     Select the ‘Security’ tab, and configure for no signature and no encryption

Security_D97.jpg

4.\     Select the ‘Send’ tab, and configure the required Receipt URL:  
URL will be address of PI server where we want to send the message.
For example:
    D97: http://dz160.test.net:50000/SeeburgerAS2/AS2Server

format :   http://<Host Name>:<Port>/SeeburgerAS2/AS2Server

     If required, you can define a “Payload subject” for this receiver (may be necessary for some scenarios)

URLD97.jpg
5.\     Select the ‘MDN’ tab, and configure for only ‘Request sync MDN’

MDN_D97.jpg

Sending a message from GXS to ECC Dev
1.\     Ensure that partner ‘GXS’ is defined as the ‘local station’ partner (tab ‘Misc’ on GXS partner)
2.\     Select ‘File’ and then ‘Send to Partner’ from the menu
3.\     Select ‘SAP D97′ as the Receiver, then selecting the local file to send, and then click ‘OK’

Sending_MsgD97.jpg

The sending of the file should result in the following kind of response in the ‘m-e-c’ log

Sending_logD97_1.jpg

Now we can check on seeburger workbench message should be sucessufully received.

SeeburgerWorkbench_1.jpg

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Daniel Graversen
      Daniel Graversen
      I'm quite impressed by the tool you have created.

      When I have been working on testing AS2 i have used freeas2.com They provide a small app, maybe a bit simpler than what you have created.

      Daniel.