You can use EDI studio to receive EDI message files from the AS2 web app. To be able to do so, some specific setup is required. Key in the setup is the inbound definition.
To receive EDI messages using the AS2 protocol, first the AS2 web app is run. This app stores the EDI message files in a general storage location. On this general storage location, the inbound definitions are run in recurring mode (Process AS2 inbound queue). During this process, this data is searched for in an EDI message file:
Based on this data, the file is moved to a specific storage location for further processing. From this specific storage location, the file is processed with an inbound message.
You can use the AS2 - Inbound process, for example, to import data that must be processed by different messages, based on specific field values.
Name | Responsible | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Set up inbound definition - XML |
Administrator |
Use inbound definitions when you receive EDI message files from the AS2 web app. To determine which file distribution definition applies, this data must be read from the file:
ExampleXML file content examples, without and with namespace:
Examples of XPath expressions that can be applied to this example:
|
||||||||||||||
Set up inbound definition - JSON |
Administrator |
Use inbound definitions when you receive EDI message files from the AS2 web app. Set up an inbound definition of type JSON to move files with data-object notation from the general storage location to a specific storage location. To determine which file distribution definition applies, this data must be read from the file:
ExampleJSON file content example: {"Stores":["Lambton Quay","Willis Street"],"Manufacturers":[{"Name":"Acme Co","Products":[{"Name":"Anvil","Price":50}]},{"Name":"Contoso","Products":[{"Name":"Elbow Grease","Price":99.95},{"Name":"Headlight Fluid","Price":4}]}]} Examples of JSON path expressions that can be applied to this example:
Note: JSON path expressions are case sensitive. |
||||||||||||||
Set up inbound definition - Text |
Administrator |
Use inbound definitions when you receive EDI message files from the AS2 web app. Set up an inbound definition of type Text to move files with field and line separators (for example, CSV files) from the general storage location to a specific storage location. To determine which file distribution definition applies, this data must be read from the file:
ExampleText file content example: ORDER;10002;US-027;M0001;123.45;2025-03-01 Example of setup that can be applied to get the customer ID (US-027):
|
||||||||||||||
Set up inbound definition - Fixed text |
Administrator |
Use inbound definitions when you receive EDI message files from the AS2 web app. Set up an inbound definition of type Fixed text to move files with defined start positions and lengths for fields from the general storage location to a specific storage location. To determine which file distribution definition applies, this data must be read from the file:
ExampleFixed text file content example: ORDER10002US-027M0001123.452025-03-01 Example of setup that can be applied to get the customer ID (US-027):
|
||||||||||||||
Set up inbound definition - EDI |
Administrator |
Use inbound definitions when you receive EDI message files from the AS2 web app. Set up an inbound definition of type EDI to move files that are structured in line with an EDI standard (for example, EDIFACT) from the general storage location to a specific storage location. To determine which file distribution definition applies, this data must be read from the file:
ExampleEDI file content example: UNH+1+ORDERS:d:12A:EU:EAN123 Example of setup that can be applied to get the type (ORDERS):
|
||||||||||||||
Test AS2 inbound definition setup |
Administrator |
If you have set up an inbound definition, you can test it. To test an inbound definition, first make sure a test file is available in the Working folder as defined by the connector of the inbound definition. |
Name | Responsible | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Set up inbound definition - XML |
Administrator |
Use inbound definitions when you receive EDI message files from the AS2 web app. To determine which file distribution definition applies, this data must be read from the file:
ExampleXML file content examples, without and with namespace:
Examples of XPath expressions that can be applied to this example:
|
||||||||||||||
Set up inbound definition - JSON |
Administrator |
Use inbound definitions when you receive EDI message files from the AS2 web app. Set up an inbound definition of type JSON to move files with data-object notation from the general storage location to a specific storage location. To determine which file distribution definition applies, this data must be read from the file:
ExampleJSON file content example: {"Stores":["Lambton Quay","Willis Street"],"Manufacturers":[{"Name":"Acme Co","Products":[{"Name":"Anvil","Price":50}]},{"Name":"Contoso","Products":[{"Name":"Elbow Grease","Price":99.95},{"Name":"Headlight Fluid","Price":4}]}]} Examples of JSON path expressions that can be applied to this example:
Note: JSON path expressions are case sensitive. |
||||||||||||||
Set up inbound definition - Text |
Administrator |
Use inbound definitions when you receive EDI message files from the AS2 web app. Set up an inbound definition of type Text to move files with field and line separators (for example, CSV files) from the general storage location to a specific storage location. To determine which file distribution definition applies, this data must be read from the file:
ExampleText file content example: ORDER;10002;US-027;M0001;123.45;2025-03-01 Example of setup that can be applied to get the customer ID (US-027):
|
||||||||||||||
Set up inbound definition - Fixed text |
Administrator |
Use inbound definitions when you receive EDI message files from the AS2 web app. Set up an inbound definition of type Fixed text to move files with defined start positions and lengths for fields from the general storage location to a specific storage location. To determine which file distribution definition applies, this data must be read from the file:
ExampleFixed text file content example: ORDER10002US-027M0001123.452025-03-01 Example of setup that can be applied to get the customer ID (US-027):
|
||||||||||||||
Set up inbound definition - EDI |
Administrator |
Use inbound definitions when you receive EDI message files from the AS2 web app. Set up an inbound definition of type EDI to move files that are structured in line with an EDI standard (for example, EDIFACT) from the general storage location to a specific storage location. To determine which file distribution definition applies, this data must be read from the file:
ExampleEDI file content example: UNH+1+ORDERS:d:12A:EU:EAN123 Example of setup that can be applied to get the type (ORDERS):
|
||||||||||||||
Test AS2 inbound definition setup |
Administrator |
If you have set up an inbound definition, you can test it. To test an inbound definition, first make sure a test file is available in the Working folder as defined by the connector of the inbound definition. |
Related to | Notes |
---|---|
Process EDI messages using AS2 - Inbound |
  |
Set up AS2 - Inbound |
  |