Switchboard
A configuration-driven orchestration framework for EDI and XML trading partner flows, moved off Oracle SOA Suite onto Java and proved equal route by route.
Problem
Trading partner flows lived in hand-built SOA code and PL/SQL. Every new partner or document change meant editing code, and the platform carried a licensing cost that grew with the estate.
The flows were not toy flows: they create real sales orders, invoices, ship notices and acknowledgements in Oracle E-Business Suite 12.2.
Constraints
- The old engine had to stay installed as the way back until the new one was proved.
- Documents had to reach E-Business Suite only through Oracle's own public APIs.
- X12 4010 and 5010, EDIFACT, XML, JSON and flat files all had to run through the same engine, with AS2 signed receipts, REST and file exchange as transports.
Approach
Each document arrives as one envelope and walks a route defined in tables, leaving an archive trail, a tracking row and, on failure, an error record. New partners are configuration, not code.
The engine was rewritten in Java inside a web console and run on PostgreSQL and SQL Server beside the original Oracle framework. Each route was compared against the old engine before the switch.
Named accounts, live monitoring and partner onboarding sit in the same console.
Architecture
Result
- Real orders and invoices are created end to end, order to cash, including 856 ship notices and 810 invoices.
- Every route was proved equal to the old engine before the switch, and the old SOA and PL/SQL path stays installed as the way back.
- The estate also covers a healthcare set (834, 837, 835, 277, 999) and EU e-invoicing (EN 16931, Factur-X PDF/A-3).
Stack
Have a system like this to build, move or fix?
