EDI Schema Validation RRS feed

  • Question

  • We have a requirement to validate EDI(EDIFACT) files through web service & return success or failure(with list of errors).

    What we tried:

    1- Call pipeline from orchestration. But Calling EDI pipelines from Orchestration is not supported.

    2. With unit test enabled, tried to validate schema with OutputInstanceType as native. But still no luck.

    Thursday, December 7, 2017 6:16 AM

All replies

  • Just a few formats/documents or a rich set?

    If this is just a few documents you need to support you can have a look at an existing open source projects or maybe this concept

    On a larger scale you could post a json message to rabbitmq, let bts pick up the message
    With failed message routing enabled you could return the failed message through rabbitmq to the website (ajax listener)
    Just an wild idea, don't know if it's possible at all :P

    Have fun /Peter

    Thursday, December 7, 2017 10:29 PM
  • Calling the EDI components from Orchestrations is not supported but it can work, at least I've tried and didn't see any problems.  So, this is one case where I would say it's OK to do it if it works in you app.

    If you still don't want to do that, no problem, you can run your Pipelines on an Loopback Send Port. 

    You can use this Adapter: TwoConnect Loopback Adapter

    It does work with 2016 and it's free.

    Note, all the EDI errors you see in the Event Log are written to a Context Property.  Unfortunately, you have to do a bit of parsing on that.

    Friday, December 8, 2017 12:39 PM