Testing- ERP message in Q8 - IBM Websphere

Everything has been successfully configured and the infrastructure is “up and running,” so now is the time to test our scenario and actually see the transaction results in ourTransaction Viewer and the system logs.

you can see the steps that will occur when we trigger the scenario putting the ERPmessage in Q8.

Using AS2 and binary payload flow

Using AS2 and binary payload flow

Here is an explanation of the numbered steps:

  1. A message (jpg) is put on Q8 with RfhUtil, where MQ Front Side Handler is listening.
  2. Putting jpg file in Q8 using RfhUtil

    Putting jpg file in Q8 using RfhUtil

  3. The message is received by the MQ FSH, and the stylesheet B2B_routing.xsl is triggered, because the incoming protocol is MQ, it sets both Sender and Receiver IDs, so B2B Gateway can point to the right profiles.
  4. The message is wrapped in AS2,signed, encrypted, and sent over SSL toBinary_Partner_B2BGW using the BinaryPartner profile (AS2_2_bankingpartnerdestination, on port 20060).
  5. Binary_Partner_B2BGW receives the AS2 message using Binary_Partner_AS2FSH.It decrypts it and verifies the signature. If everything is fine,it sends an asynchronous MDN through 20061to Binary_Hub_B2BGW.
  6. The message is processed and then sent back to its MQ Destination,on Q9.

Test results

After completing step 1,the rest of the steps are triggered and the processing finishes with a message in Q9, so let us look at the Queue using RfhUtil utility.

Jpg file in the outbound Q9 after the processing

Jpg file in the outbound Q9 after the processing

In the Transaction Viewer, we can see three transaction IDs: 444 corresponds to theBinaryHub gateway processing, 445 corresponds to the Binary Partner receiving the message, and 446 corresponds to the asynchronous MDN sent by the Binary Partner.

Transaction Viewer showing the trading flow

Transaction Viewer showing the trading flow

If we look at the Headers, we can see all the important information gathers there,such as the Content Type and the AS From Header and AS To Header AS2 headers.

AS2 Headers of the binary message sent

AS2 Headers of the binary message sent


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

IBM Websphere Topics