System Five Web API Service Installation and Updating
This document is deprecated; please see the document on Microsoft One Drive:
Be aware that WEB API
uses a Pervasive License.
The link above is the document outlined by John Ray for WebAPI Setup & Configuration along with the troubleshooting steps for “Common Issues” at the bottom part.
This additional note highlights the entire procedure + extra points.
Correction to what was originally stated, WebAPI files (.INI. EXE &. BAT) files must all be on the same version as SystemFive.exe.
Separate directory / folder for the Training WebAPI
This is to avoid getting it over-written during CopyOver or regular Training upgrades. It is imperative that the training webapi environment is left alone while the customer's programmer is doing his test.
Create a New DSN Database and enable via “Pervasive.SQL Database”.
They might already be using DSN Database for other Windward Modules, so do take the time to double-check. The point here is that you need to have a “valid” DSN Database for WebAPI. And although “Pervasive.SQL DSN-less Connection is known to work, it is suggested to use “Pervasive.SQL Database” for stability.
Enable the “Use Record-State Tracking” via Setup Wizard / Miscellaneous menu
Enabling this feature will load a bit, depending on the size of the dataset.
“S5WebAPIService” service must be or ideal to be restarted every day.
The restart can be done via Windows Task Scheduler, the steps is provided on the setup document above. Also the restart needs to happen during off hours, after midnight.
WebAPI ports: plan ahead and request both live & training ports to be open by the IT Guy.
This will save us a lot of time and potential problems.