Skip to content
Of Ash and Fire Logo

Legacy System Integration & Reverse Engineering Services

Legacy system integration and modernization: reverse engineering undocumented systems, getting your data out, and vendor exit on your own timeline.

Legacy system integration and modernization means connecting the older software your business still runs on to newer systems, documenting how it really works, and replacing pieces only when that pays. We build APIs for systems that have none, reverse engineer undocumented databases, file formats and protocols, and plan vendor exit on your schedule.

The systems involved are usually the ones a company cannot switch off for a weekend: an on-premise ERP or IBM i application, a student information system, a plant historian, an older EHR, or a CRM whose SOAP API nobody documented. The shared problem is access. If your data can only leave through the vendor's export button, every integration and every migration happens on the vendor's schedule and at the vendor's price. Our guide to legacy system integration, reverse engineering and vendor exit covers the method in depth. This page describes how we run the work and what you end up with.

What does legacy system modernization include?

Four kinds of work, and most engagements use more than one: integration, reverse engineering, data extraction and migration, and incremental replacement. We usually start with integration, because a working connection buys time to decide what, if anything, to replace.

WorkWhat it meansTypical trigger
IntegrationConnecting the legacy system to newer software through an API or data feed you ownA new portal, tool or report needs data the vendor does not expose
Reverse engineeringWorking out a schema, file format or protocol by observing the running systemNo documentation, no API, or the people who understood the system have left
Data extraction and migrationGetting a complete, validated copy of your data out, planned around your operating hours, and loading it somewhere newA vendor migration, end of support, a retention requirement or an analytics project
Incremental replacementSwapping modules for software you own, one at a time, behind a stable interfaceRising license cost, end of on-premise support, or a security gap you cannot fix in place

Why do legacy systems become liabilities?

Because staffing, compliance and integration costs rise while the system itself stays the same, until a vendor deadline or a retirement forces a decision under pressure.

  • Staffing gets harder. The engineers who built many COBOL, RPG, Classic ASP and VB6 systems are retiring, and what they knew leaves with them. On IBM i specifically, skills displaced cybersecurity as the top concern in Fortra's 2026 survey for the first time, according to IT Jungle's write-up of the results.
  • Compliance drifts. HIPAA, FERPA and SOC 2 expectations change, so a system that passed review five years ago may now fall short on encryption, audit logging or access control.
  • Integrations slow everything down. New SaaS tools, mobile apps and analytics platforms expect REST APIs and webhooks. A system that only exchanges batch files, FTP drops or a proprietary RPC protocol adds work to every project that touches it.
  • Operations get fragile. Without automated tests, monitoring or a deployment pipeline, one configuration change can cause hours of downtime, and recovery depends on whoever remembers how the system works.
  • Engineering time goes to upkeep instead of the features your customers, students or patients notice.

Reverse engineering and integration when there is no API

When the vendor offers no usable API and your contract allows it, we build one. We find the lowest-risk place to attach, document what the system actually does with a four-step method (enumerate, probe, validate, abstract), and put a documented API layer you control in front of it, so your other software stops depending on the vendor's quirks.

Where can you connect to a legacy system?

There are six integration surfaces, and most projects use more than one. We pick the surface that carries the data you need with the least risk to production.

SurfaceTypical examplesMain risk
DatabaseSQL Server under an on-premise ERP, Db2 for i on IBM i, Oracle under a hospital systemUndocumented schema, and business logic that lives in application code rather than the tables
Files and exportsCSV and fixed-width exports, SFTP drops, binary formats such as SEG-YFormats that change without notice, partial exports, encodings such as EBCDIC
Network or API trafficSOAP calls between a desktop client and its server, an undocumented REST API behind a web appUndocumented behavior and session handling
Vendor API or SDKEpicor Kinetic REST v2, Blackbaud SKY API, a FHIR endpointCoverage gaps, rate limits, access tied to a hosting tier or paid module
Message queues and interface feedsHL7 v2 feeds, IBM i data queues, OPC UA, EDIInterface license fees and message variants
User interface automation5250 green screens, desktop forms, web pages with no APIBreaks when a screen changes; slow and hard to make transactional

Two rules cover most choices. Read from the lowest surface that has the data, closest to storage, because databases and files change less often than screens. Write through the highest supported surface, closest to the application, because pricing rules, inventory reservations and audit trails usually live in application code that direct table writes would skip. Our K-12 data ingestion pipeline pulled from five student information systems this way, including a legacy system that only produced flat files over SFTP.

The four-step method

The method comes from the project in our legacy API reverse engineering case study: an ISP's CRM with an undocumented SOAP/WSDL API covering 12+ services and 49+ polymorphic context types, meaning records that change shape depending on what they describe. Two earlier teams had given up on it.

  1. Enumerate: list everything the system exposes before writing integration code. For SOAP services we parse every WSDL into a catalog of operations, message types and error responses, then compare it with real traffic to find variants the WSDL does not mention. For a database the inventory is the schema, keys, triggers and stored procedures; for a binary file format, samples from every version we can find.
  2. Probe: find out what each part really does by testing it. We call each operation with the smallest valid request, vary the inputs and user roles, and record what comes back. Each passing probe becomes a regression test, so the suite doubles as documentation that runs against the real system. We start with reads, and test writes with labelled records in a test instance or a quiet window.
  3. Validate: check every response against a strict definition of what it should contain. Legacy payloads change shape by context, include some fields only sometimes and occasionally send numbers as strings, and the definition has to cover all of it. Records that fail are set aside for review instead of guessed at. In the CRM project, the case study reports this validation caught three vendor-side changes that would otherwise have become silent data errors.
  4. Abstract: put a layer you own between the legacy system and everything else. It handles logins, retries and error translation, so new applications call a clean, documented API. When the vendor changes something, most of the fix happens in this one place.

The most dangerous assumption in legacy work is that the documentation is accurate. We check assumptions against the running system, because documentation records what someone intended and production shows what actually happens.

For the CRM integration, the case study reports zero production incidents caused by undocumented behavior and an estimated 60% to 70% less integration time for new features that touch the CRM. We have reused the method on two more projects since.

Validation catches changes in shape. A change in meaning, such as a status code that keeps its format but starts meaning something else, needs a second check, so we also reconcile business totals like orders, enrollments or claims between the two systems.

The same steps work below the API level. On a database, probing means comparing tables before and after a user performs a known transaction. On a file format, it means changing one export setting and comparing the bytes. In our SEG-Y visualization project, a custom parser had to decode IBM System/360 floating point before a prototype WebGL renderer could draw about 1.2 million points in roughly 80 ms.

What AI changes

AI tools have made the reading part cheaper: summarizing unfamiliar RPG, COBOL or decompiled code, proposing what a cryptically named table holds, and drafting parsers and first-pass tests. Thoughtworks moved "using GenAI to understand legacy codebases" to Adopt on its Technology Radar in November 2025. The tools do not confirm that a guess about a table is correct, and they do not notice when a vendor update changes the data. Validation, reconciliation and monitoring do that, so we put the time AI saves into those steps.

Is reverse engineering legal?

Often, when the purpose is interoperability, but in the US the license agreement is often the deciding constraint, because courts have enforced contract clauses that ban reverse engineering. Reading your own database and parsing your own exports generally carry less risk than decompiling a vendor's code or defeating license checks. We review the contract with your counsel before any probing starts. Our guide on whether it is legal to reverse engineer software covers the cases and statutes. This is not legal advice; review your license agreement and MSA with counsel.

Vendor exit on your timeline

For each system we recommend one of three paths: keep it and integrate in place, wrap it in an API you own, or replace it module by module. A system that only holds history can simply be archived and retired. Which path fits depends on what the system still does for you and what the vendor has committed to.

Several vendors have published dates. Epicor has said Kinetic 2028.1 is its planned final on-premises feature release, with Active Support through December 31, 2029 and Sustaining Support after that. SAP's mainstream maintenance for ECC on enhancement packages 6 to 8 ends December 31, 2027, with optional extended maintenance to 2030 at extra cost. Blackbaud ends Raiser's Edge NXT database view support on September 15, 2027. If your other systems already talk to your own layer, a date like these affects one adapter instead of every connection. That adapter still has to move before the date.

PathChoose it whenWhat we build
KeepThe system does its job and you need reports or one data feedRead-only extraction from a replica, an export or the supported API
WrapSeveral tools need the same data or actions, or the vendor has announced the end of on-premise developmentAn owned API layer that callers use instead of the vendor's interfaces
ReplaceLicense cost rises faster than the value, the roadmap no longer fits, or a security or compliance gap cannot be fixed in placeModules you own, swapped in one at a time behind the wrapper
RetireThe system holds history but no new transactionsA validated archive you own, then decommissioning

Owning the result has to mean something you can check. At the end of an exit or integration project you should have the source code in your own repository, the software running in hosting accounts you control, documentation and runbooks another team could follow, and a list of every third-party license and credential the system depends on. If any of those sit only with your integrator, you have swapped one dependency for another.

Replacing in pieces with the strangler fig pattern

We almost always recommend incremental replacement over a big-bang rewrite. A rewrite usually has to reproduce most of the old system's behavior before it delivers anything, and for its whole duration you maintain two systems. Martin Fowler's strangler fig pattern moves behavior to new code piece by piece:

  • A gateway in front of the legacy system routes each request to the old or new implementation, controlled by feature flags.
  • We replace high-value, low-risk components first while the legacy system keeps handling everything else.
  • For each component in transition, one system is named the source of truth. Where data has to reach both, a reconciliation job compares them and flags discrepancies for review.
  • Traffic shifts to the new component gradually while we watch error rates, latency and business numbers such as orders posted or claims submitted.

When does replacement make more sense than modernization?

When the system is compromised enough, in architecture, security or technical debt, that planned replacement costs less than keeping it alive. We make that call with you based on:

  • the total cost of continued maintenance against modernization or replacement over three to five years
  • how much revenue, patient safety or regulatory exposure depends on the system
  • how many other systems depend on it, and how tightly
  • whether you can realistically hire and keep engineers for the current stack
  • what the vendor's published roadmap and support dates commit to

How do you migrate legacy data without corrupting it?

Profile the data first, validate every transformation step, and handle the business rules hidden in the data explicitly. Legacy data holds years of edge cases and workarounds, and a migration that ignores them damages records without raising an error.

  • We profile the data before writing migration scripts, looking at value distributions, null rates, encoding problems and broken references.
  • Migrations are designed to be reversible. Old and new data stores run side by side during the transition, and integrity checks run continuously.
  • Every transformation step has a validation gate. Records that fail are set aside for review instead of being loaded wrong.
  • We extract business rules that exist only in the data, such as status codes that mean different things depending on when a record was created, or customer categories redefined without migrating old records, and handle each one in the migration logic.

Getting the data out with minimal disruption follows the same discipline: read from a copy rather than the live system, capture changes incrementally (on SQL Server, with change data capture where support terms allow it), run the new feed in parallel, and reconcile counts, totals and record-level checksums before anything downstream depends on it.

How do you keep the business running during the transition?

Old and new systems run in parallel until the new one matches, each cutover has a rollback plan tested in advance, and changes move one unit at a time at a natural break in the business calendar. Some cutovers still need a short planned outage, and we agree that window and the recovery targets with you during the assessment.

  • Parallel operation, with automated consistency checks and alerts when the two systems disagree.
  • A rollback procedure for each change, including what happens to transactions entered after the switch.
  • Cutover by unit, such as one plant line, one district or one department, timed to a shift change, a term boundary or a month-end close.
  • Plain-language status updates for business stakeholders, including risks and changes to the timeline.
  • Metrics, logs and traces on both the legacy and the new system, so problems show up before users report them.

Legacy modernization by industry

The method is the same in every industry; the constraints differ. Regulated data, physical equipment and academic calendars each change how we plan access, testing and cutover.

Healthcare

Patient data has to stay protected through every phase, and downtime can affect care. Healthcare work under our healthcare software and EHR integration services begins with a PHI inventory and a data flow map. Migrations use encryption in transit and at rest and audit logging, and every vendor or subcontractor that handles PHI is covered by a business associate agreement. Where partner systems still use HL7 v2, those feeds keep working alongside FHIR, and cutovers are timed around clinical workflows.

Education

Districts often run a patchwork of student information systems, learning platforms and administrative tools that were never designed to work together. The work replaces nightly batch files with event-driven integrations and puts an API layer over legacy SIS platforms, under FERPA. In our pipeline for 12 districts in three states, built on the OneRoster and SIF standards, data latency fell from 4 to 6 hours to under 3 minutes for districts with webhook-enabled systems and 12 to 15 minutes for scheduled syncs. The error rate fell from 3.8% to 0.02%, infrastructure cost from $8,500 to $340 a month, and developer time to onboard a district from six weeks to five days. See our education technology development services.

Manufacturing

Plant software is often tied to physical equipment and real-time control, so modernization has to preserve the timing and reliability the floor depends on. Typical work includes SCADA upgrades that keep existing PLC and HMI connections, OPC UA gateways in front of older OPC DA (Classic) servers so analytics can read them, an MES in place of paper or spreadsheet tracking, and edge processing for anything latency-sensitive. More on our manufacturing software development services.

Oil and gas

Exploration and production data often sits in formats and systems older than the people now responsible for them. We decode legacy seismic formats such as SEG-Y with IBM floating point, and our DepthSync project includes a custom Rust OpenVDS decompressor for collaborative seismic editing. The oil and gas industry page covers the systems involved.

ISP and telecom

Providers often run provisioning, ticketing and billing on CRM and billing platforms that cannot be replaced quickly. An API layer over those platforms lets new customer-facing applications ship without a backend rewrite, which is what the CRM case study above describes.

Guides by system

Each guide applies the integration surfaces and the four-step method to one vendor, format or deadline. For the full method, start with the pillar guide, legacy system integration in the AI era.

Manufacturing guides

  • Epicor Kinetic on-premise after 2028: Kinetic 2028.1 is the last on-premise feature release. Compare hosting options, see what breaks in Epicor Cloud, and move integrations to REST v2, BAQs and Functions.
  • AS400 API integration: how to put a REST API on IBM i without rewriting RPG, using IWS services, Db2 for i over JDBC, stored procedures that wrap programs and data queues.
  • Wonderware Historian and PI data extraction: pulling data out of AVEVA Historian with SQL and REST and out of AVEVA PI with PI Web API, and when TimescaleDB or InfluxDB makes sense.
  • JobBOSS API integration: JobBOSS² has a public REST API that ECI supports for hosted customers. What it covers, what is undocumented, and how on-premise shops integrate.
  • SAP ECC 2027 deadline: what extended maintenance, customer-specific maintenance, RISE and third-party support mean for mid-size manufacturers.
  • MES integration with ERP and PLCs: ISA-95 boundaries, validated B2MML messages, protocol maps for each controller and a line-by-line rollout in older plants.

Education guides

  • PowerSchool alternatives and data export: how Infinite Campus, Skyward Qmlativ, Synergy, Aspen and Aeries compare, what switching costs, what is established about the 2024 breach, and how to export your data.
  • Skyward Qmlativ migration: what moves from SMS 2.0, what gets rebuilt, how long read-only access lasts, and how to keep an archive you own.
  • Blackbaud database view sunset: which queries, exports and plug-ins break when Raiser's Edge NXT database view support ends, and how to keep donor data flowing through SKY API and backups.

Oil and gas guides

Healthcare guides

  • Information blocking and your EHR: what 45 CFR Part 171 requires of vendors and providers, where enforcement stands, and how to request a full EHI export and keep an owned copy.
  • MEDITECH MAGIC end of life: what converts to Expanse, which retention rules apply to the history left behind, and how to archive, integrate or retire it.
  • HL7 interface cost: a line-by-line breakdown of EHR vendor fees, interface engine licensing, build, testing, connectivity and maintenance, with sourced ranges.

Legal guide

What does legacy integration cost, and how long does it take?

On our published ranges, discovery runs $8,000 to $25,000 and legacy modernization projects start from a base of $100,000 to $400,000. A single integration against a well-documented REST API takes 40 to 80 hours of engineering, and our cost guide notes that undocumented vendor APIs and legacy SOAP integrations routinely consume two to three times their initial estimate.

These figures come from our custom software cost calculator, which also lists legacy SCADA or MES modernization at $150,000 to $400,000 and uses three to six months as its standard timeline. Your real schedule depends on scope and on things outside our control: vendor onboarding, user acceptance testing and parallel runs run on other people's calendars, so we plan around them from the start.

Start with a legacy system assessment

The assessment is our discovery phase, priced within the $8,000 to $25,000 range above. It covers stakeholder interviews, data flow mapping, integration discovery, a keep, wrap or replace recommendation for each system, a phased plan and a fixed-range estimate for the build. If you decide not to go ahead with us, you keep the documentation and can hand it to another team.

You don't need answers before the first conversation. It helps to know which system causes the most manual work, which two or three data flows you would most like to stop re-keying, and where your license agreement is kept. Contact us to start with one system before committing to more.

Service Highlights

1. API Reverse Engineering

Systematic WSDL-first discovery, test-driven endpoint mapping, and runtime schema validation to integrate with undocumented legacy APIs.

2. Incremental Migration

Strangler fig pattern with feature flags for safe, reversible rollouts that keep your business running during modernization.

3. Modern Integration Layer

Typed TypeScript service layers that abstract legacy protocol complexity, giving your team a modern API surface to build against.

Features

SOAP/WSDL API reverse engineering

Strangler fig pattern migration

Runtime schema validation (Zod)

TypeScript abstraction layers

HIPAA & FERPA compliant migrations

Zero-downtime cutover strategies

Get In Touch

For Fast Service, Email Us:

info@ofashandfire.com

Why Choose Us?

Industry Expertise

With years of experience in healthcare technology, we understand the unique needs and compliance requirements of the industry.

Cutting-Edge Solutions

We leverage the latest in mobile and cloud technology to build responsive, reliable, and efficient medical applications.

Dedicated Support

Our team provides ongoing support and maintenance, ensuring that your application runs smoothly as your needs evolve.

Related Articles

Legacy System Integration: Reverse Engineering, AI and Vendor Exit

How to connect legacy systems your vendor never opened up: six integration surfaces, a four-step reverse engineering method, what AI changes, zero-downtime extraction, legal limits and costs.

Read More

Epicor Kinetic On-Premise After 2028: Options and REST API Integration

Kinetic 2028.1 is the last on-prem feature release. Compare your hosting options, see what breaks in Epicor Cloud, and move integrations to REST v2, BAQs and Functions now.

Read More

PowerSchool Alternatives and Data Export After the 2024 Breach

How Infinite Campus, Skyward Qmlativ, Synergy, Aspen and Aeries compare with PowerSchool, what switching costs, what is established about the 2024 breach, and how to export your data.

Read More

SEG-Y Format Explained: Headers, IBM Floats and Legacy Seismic Data

A byte-level SEG-Y reference: header layouts from rev 0 to rev 2.1, format codes, byte order detection, inline and crossline quirks, and tested IBM float and trace reader code.

Read More

Information Blocking and Your EHR: How to Get Your Data Out in 2026

What 45 CFR Part 171 requires of EHR vendors and providers, where 2026 enforcement stands, and how to request a full EHI export, use FHIR bulk data and keep an owned copy.

Read More

Is It Legal to Reverse Engineer Software? DMCA, Contracts and EU Law

Reverse engineering is often legal under US fair use and the DMCA's interoperability exemption, and EU law protects it, but your license can still forbid it. Cases, statutes and a risk table.

Read More

Frequently Asked Questions

How do you reverse engineer an undocumented API?+
In four steps. We list everything the system exposes, such as every operation or database table. We test each one with small, safe requests and record what it really does. We check every response against a strict definition so unexpected changes are caught instead of silently stored. Then we put a documented API layer you own in front of it, so new software never calls the vendor's interface directly.
Can you modernize a legacy system without downtime?+
We plan for it, and most changes can avoid unplanned outages. A gateway routes requests to the old or new component and traffic moves over gradually. Old and new systems run in parallel with automated reconciliation, each cutover has a tested rollback plan, and we move one plant line, district or department at a time. Some cutovers still need a short planned window, agreed in advance.
Which industries do you modernize legacy systems for?+
Mainly healthcare, education, manufacturing, oil and gas, and ISP and telecom. That covers EHR integrations and HL7 or FHIR feeds, student information system and LMS integrations, ERP, MES and SCADA connections, legacy seismic formats such as SEG-Y, and CRM and billing APIs. The method is the same in each: find the integration surface, document real behavior, validate it, and wrap it in an API you own.
Is it legal to reverse engineer software to integrate with it?+
Often, yes. US courts have treated reverse engineering for interoperability as fair use, and the DMCA has a narrow interoperability exemption with specific conditions. Courts have also enforced license clauses that ban reverse engineering, so your contract is often the deciding factor. Reading your own database or exports generally carries less risk than decompiling. This is not legal advice; review your license agreement and MSA with counsel.
What if our vendor has no API?+
Then we connect through another surface, provided your contract and access rights allow it: a read-only database account or replica, scheduled exports and file drops, the traffic between the vendor's own client and server, message feeds such as HL7 or IBM i data queues, or screen automation as a last resort. We read from the lowest-risk surface, send writes through a supported path where one exists, and wrap the result in an API you own.
How long does a legacy system integration take?+
It depends mostly on documentation. Undocumented vendor APIs and legacy SOAP integrations routinely take two to three times their initial estimate, while one integration against a well-documented REST API takes 40 to 80 hours of engineering on our published ranges. Larger modernization projects are scoped after a discovery phase, and our cost calculator uses three to six months as its standard timeline.

Ready to Ignite Your Digital Transformation?

Let's collaborate to create innovative software solutions that propel your business forward in the digital age.