Skip to content
MenuClose

02Blog

REST, SOAP, SQL or files: choosing an integration method

There are four common ways to connect process software to the systems a company already runs. Which one fits depends on what the other system offers, how often data moves and where the master record lives.

Published:

Process software rarely works alone. Purchase orders go to the accounting system, clock-in records come from a device, customer data sits in another application. There are four common ways to connect them: REST, SOAP, a direct database connection and file exchange. This is how we decide between them.

Answer two questions first

Where does each piece of data have its master record? Statutory accounting stays in the accounting system. Approvals, documents and process tracking run in the process software. If customer account codes are created in accounting, the process software reads them from there and does not invent its own. Without this split, the same record ends up with two different values.

How often does data need to move? Does an order have to reach accounting the moment it is approved, or is an end-of-day batch enough? Real-time transfer is not always needed and takes more work to build.

Once these are answered, the method often picks itself.

REST API

Most applications written today offer a REST interface. Data is read and written as JSON or XML over HTTP.

Use it when:

  • The other system has a documented REST endpoint.
  • Records move one at a time as events happen, for example when an order is approved.
  • Records are created from outside, such as a mobile app or a web form.

Watch for: an endpoint does not always expose every field. Check during analysis that each field you need is available.

SOAP web services

SOAP is a stricter, XML-based web service format, common in older enterprise software. Sending records into Intellect and calling external services from it can both be done this way.

Use it when the other system only offers SOAP, and the service definition (WSDL) and fields are stable.

Watch for: some services return an empty response even when the call succeeded, so an empty or non-empty reply tells you little on its own. Check that the record actually appeared in the target system.

Direct database connection (SQL)

If the other system has no usable service but read access to its database can be granted, its tables can be read directly. In Intellect, tables in another SQL Server database can be linked and then listed and reported on like local records.

Use it when data is only read (stock lists, customer accounts, staff lists) and the other system has no service, or a very limited one.

Watch for:

  • Connect through a view that exposes only the columns you need, not the raw table. If the other system changes its table layout, the impact stays contained.
  • Avoid writing directly into another application’s tables. You bypass that application’s own rules and the results are unpredictable.
  • Empty values and data types can behave differently between systems. Handle them in the view.

File exchange

Bulk import and export with Excel, XML or CSV files is the oldest method and still the most widespread.

Use it when the other system has neither a service nor database access, when transfers are periodic (monthly payroll data, for example), or when loading historical data during the first set-up.

Watch for: tie the file to a written column layout. If a column is renamed or moved, data can land in the wrong field. After each load, compare row counts and totals with the source.

Sign-in is an integration too

Letting users sign in with their company accounts is also an integration, done over LDAP or SAML. There is no separate password to manage, and when someone leaves, closing their company account ends their access.

How a transfer is built

Whatever the method, the steps are similar:

  1. Data map: which field goes where, where the master record lives, how often data moves.
  2. Error rule: what happens when an incomplete or invalid record arrives. Skipped, held, reported to whom?
  3. Test environment: the transfer runs first with realistic test data.
  4. Logging: every live transfer is logged, so a failure can be traced to the record that caused it.

The error rule is the step most often skipped. A transfer runs fine for weeks. Then the first order with a customer code that does not yet exist in accounting stops it, and nobody notices. Failed records should collect in a list that someone is told about, not disappear quietly.

How Proka handles it

Proka connects to external systems through REST API, SOAP web services and SQL-based methods, and supports file exchange. In a Proka roll-out the integration scope is set during analysis: what stays in accounting, what runs in Proka, and which fields move between them. See our system integration page.

Related pages

Contact

Tell us what you need

We agree the scope with you in a first call. Quotes are based on scope and person-days.