You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »

Once the OECGI4 is properly installed, you'll need to make a few minor changes to the Registry settings In order for the SRP HTTP Framework to operate properly. As a reminder, the full path for typical installations will looks like this:

OpenInsight 9.x

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\RevSoft\OECGI4

OpenInsight 10.x

HKEY_LOCAL_MACHINE\SOFTWARE\RevSoft\OECGI4

Here are the key/value pairs (new key/values or values different from the default are in bold):

ProcedureName="HTTP_MCP"
QueueName=""
ServerURL="localhost"
SysDownPage=""
UserName="EXAMPLES"
UserPassword=""
OILocation=""
ServerPort="8088"
ApplicationName="EXAMPLES"
EngineName="EXAMPLES"

ShutdownFlags="1"
StartupFlags="1"
FileMode="1"
FilePath=""

AdditionalValues="HTTP_AUTHORIZATION,HTTP_MEDIA_TYPE,HTTP_ACCEPT_ENCODING,HTTP_ACCEPT_CHARSET,HTTP_ACCEPT_LANGUAGE"

Obviously, the UserName, WorkingDirectory, and ApplicationName values should be modified to suit your environment.

The ProcedureName value normally refers to the RUN_OECGI_REQUEST stored procedure. This should now refer to HTTP_MCP (a procedure that ships with the SRP HTTP Framework) in order to properly handle RESTful HTTP requests.

The AdditionalValues value is how the OECGI is taught to look for HTTP request header fields that it does not monitor by default. These header fields are not required but they are commonly used. If HTTP Basic Authentication will be used (since it is a common form of authentication with REST APIs), then HTTP_AUTHORIZATION is necessary.

Use the example .reg file (designed for OpenInsight 9.x) below for importing the required settings into your web server's registry:

OECGI4_Wow6432Node for SRP HTTP Framework.reg

  • No labels