Transform XML to EDI X12 850 purchase orders and X12 850 to JSON

(2 reviews)
Transform XML to EDI X12 and EDI X12 to JSON

home

resources/b2b-demo-outbound-66c305fb-0a68-4aaa-a5d1-fb88a3cf2421.png

resources/b2b-demo-inbound-d5759eeb-5b3a-436f-ba65-b192fd8e8b42.png

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

  • Transform XML messages into outbound EDI X12 850 purchase order.
  • Transform inbound EDI X12 850 purchase orders into JSON, with a Functional acknowledgement (997) generated.

Setup the Example

Run the Example

  • Run the application in Anypoint Studio.
  • Testing Outbound flow
  • Testing Inbound flow
    • Using a REST Client, POST a raw EDI X12 850 message message to the URL: http://localhost:8081/x12/receive/4010-850
      • Payload: src/main/resources/inbound/EDI-4010-850-NTO-to-Mythical.edi
    • The app returns the translated JSON purchase order message
    • Functional Acknowledgement (997) 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.

Reviews

TypeExample
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onOct 7, 2020
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.1

Categories

Industry Vertical
RetailManufacturingNo values left to add
Functions
B2BEnterprise ITERPE-CommerceNo values left to add

Tags