Configuring Notifications for Messages in XML v2 Format
Overview
webMethods Module for SWIFT handles all levels of notification that SWIFT Alliance Access (SAA) sends in response to requests from webMethods Module for SWIFT:
- Information notification: When SAA receives MT messages from webMethods Module for SWIFT, SAA validates the structure and the security signature of the message against SWIFT standards. If the message fails validation, SAA routes the message to a specific routing point and sends an information notification and message status to webMethods Module for SWIFT.
- Transmission notification: SWIFT Central Services validates messages for FIN, InterAct, and FileAct services, and returns either a Positive (ACK) or Negative (NAK) acknowledgment. If SWIFT accepts the message, it returns ACK. If the message validation fails, SWIFT rejects the message and returns NAK. SAA maps these acknowledgments into transmission notifications and sends them to webMethods Module for SWIFT.
- Delivery notification: When the message is delivered to the receiver, SWIFT Central Services sends a Delivery Notification (DeIN) acknowledgment. SAA maps DeIN into a delivery report or delivery notification and sends it to webMethods Module for SWIFT.
webMethods Module for SWIFT handles notifications using site-specific processing, configured through Trading Networks processing rules. webMethods Module for SWIFT provides you with the TN documents required to recognize the notification messages. Trading Networks saves incoming notifications and associates them with the original messages using the corresponding processing rule. You can see related messages by viewing the documents in Trading Networks.
Configuring webMethods Module for SWIFT to Handle Notifications
Step 1: Import Trading Networks Information for Notifications
About this task
To enable webMethods Module for SWIFT to handle notifications received from SAA, import the following Trading Networks assets:
| Trading Networks Asset | Attribute | Description |
|---|---|---|
| Processing Rules | HandleDeliveryNotifications | Processes delivery notifications from SAA and relates them to the original document using the 108: tag of the message. |
| Related SWIFT documents | Reconciles all notifications from SAA and relates notifications to the original document using the SenderReference attribute. | |
| Document Attributes | Format | Identifies the format of the message (MT, MX, or any XML type). |
| SenderReference | Extracted from the outbound document (being sent to) SAA and uniquely identifies any document sent to SAA. | |
| ReconciliationInfo | Used to reconcile the MX Delivery Notification message to the corresponding Transmission report. (This attribute is extracted from the inbound Delivery Notification.) | |
| Document Types | DeliveryNotification | Corresponds to the delivery notification sent by SWIFT to webMethods Module for SWIFT for successful delivery of a message to a counterparty. |
To import Trading Networks information for handling notifications
- Using the
xmlv2TNItems.binfile located in the Integration Server_directory \packages\WmFIN \config\xmlv2\ directory, import Trading Networks assets using the instructions described in IBM webMethods Trading Networks Administrator’s Guide .
Step 2: Configure webMethods Module for SWIFT to Handle Notifications
About this task
To configure webMethods Module for SWIFT to handle notifications
Procedure
- Configure routing rules in SAA using the Routing Application to send different notifications to specific end points (AFT or MQHA). For more information about configuring routing rules in SAA, see SWIFT Alliance Access Administration Guide.
-
Configure the routing on SAA to
send notifications to:
- AFT - Create a new service to process notifications and submit them to Trading Networks for further processing, or modify the sample service wm.xmlv2:recieveFromAFT from the webMethods Module for SWIFT samples. For more information about the webMethods Module for SWIFT sample services, see webMethods SWIFT Module Samples Guide.
-
MQHA
- Create a listener and notification for this connection:
- Create a listener to wait for a notification document and a trigger that subscribes to the notification document. The notification document is published when a message is put into the MQHA queue by SAA.
- Create a new service to handle notifications or modify the sample service, wm.xmlv2:receiveFromMQ. This service is called from the above trigger, which subscribes to the Notification document.
Sample services for the connection, listener, notification, trigger, and receive services are available in the webMethods Module for SWIFT samples. For more information about the webMethods Module for SWIFT sample services, see webMethods SWIFT Module Samples Guide.
-
Configure the connection details
for SAA as described in:
- For AFT, see Using AFT to Communicate with SWIFT.
- For MQHA, see Using Adapter for MQ to Communicate with SWIFT.
Step 3: View Notifications and Related Messages
About this task
You can view the different types of notifications and the messages to which they relate using the Trading Networks pages in My webMethods.
Search for the notification you want to view in Trading Networks by following the instructions described in IBM webMethods Trading Networks Administrator’s Guide .
Notification Details Displayed in the Transaction Details Panel
In the Transaction Details panel there are several tabs that display information about the notifications. The following table describes the most important details for the different types of notifications that you can find on the Activity Log and Content tabs. For information about all tabs in the Transaction Details panel, see IBM webMethods Trading Networks Administrator’s Guide .
| Tab | Notification | Details |
|---|---|---|
| Activity Log | The Brief Message column contains the Document ID of the original message or TN document to which the notification or report is related: | |
| Delivery Notification | The TN document
related to this notification, for example:
|
|
| Delivery Report | ID of the message
related to this report, for example:
|
|
| History Report | ID of the message
related to this report, for example:
|
|
| Transmission Report | ID of the message
related to this report, for example:
|
|
| Content | Details displays the contents of the selected item: | |
| Delivery Notification | The delivery
notification contents of the
bizdoc, which is in either XML
or MT format:
|
|
| Delivery Report | The delivery
report for the selected item:
|
|
| History Report | For
xmlData,
the actual Data PDU content of the history report in XML format.
|
|
| Transmission Report | The content of
the transmission report:
|
|
For examples of the Data PDU content of the different types of notifications, see Examples of Data PDU Content of Documents.