Transforming inbound and outbound EDIFACT messages

(0 reviews)
Transforming inbound and outbound EDIFACT messages

home

resources/edifact-inbound-56d7c7b2-828e-44c6-8e56-b4531e6023d4.png

resources/edifact-outbound-a4372f13-718d-461c-8dac-3059f2434a92.png

This example illustrates the below B2B/EDI integration use cases leveraging Anypoint EDIFACT Connector:

  • Transform inbound EDIFACT ORDERS purchase order messages into a canonical JSON format, with a Functional acknowledgement (CONTRL) generated.
  • Transform canonical PO Acknowledgement JSON messages into outbound EDIFACT ORDRSP messages.

Setup the Example

Run the Example

  • Run the application in Anypoint Studio
  • Testing Inbound flow
    • Using a REST Client, POST a raw EDI EDIFACT ORDERS message to the URL: http://localhost:8081/edifact/inbound
      • Payload: src/main/resources/test-data/inbound-edifact-order.edi
      • The app returns the translated canonical JSON purchase order message
      • Functional Acknowledgement (CONTRL) is generated and printed in the log. It can be sent via any standard protocol such as FTP, SFTP or AS2 back to the trading partner.
  • Testing Outbound flow
    • Using a REST Client, POST a JSON message to the URL: http://localhost:8081/edifact/outbound
      • Payload: src/main/resources/test-data/outbound-po-ack-canonical.json
      • The Mule app returns the generated EDIFACT ORDRSP message. It can be sent via any standard protocol such as FTP, SFTP or AS2 back to the trading partner.

Reviews

TypeExample
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onJun 15, 2021
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.1
1.0.0