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.
Create receiver Partner
\ \
\ \
3.\ Select the ‘Security’ tab, and configure for no signature and no encryption
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)
5.\ Select the ‘MDN’ tab, and configure for only ‘Request sync MDN’
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’
The sending of the file should result in the following kind of response in the ‘m-e-c’ log
Now we can check on seeburger workbench message should be sucessufully received.
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.