Configure Web API - Intergraph Smart Reference Data - Version 2016 R4 (8.4) - Administration & Configuration - Intergraph

Intergraph Smart Reference Data REST API 2016 R4 (8.4)

Language
English
Product
Intergraph Smart Reference Data
Search by Category
Administration & Configuration
Smart Materials/Smart Reference Data Version
2016 R4 (8.4)

Application settings

You must set the following configuration in the web.config file to consume from client service:

  • Open the web.config file, search for <services baseUri> section, and set value for baseUri as:

baseUri ="https://<ServerName>/<VirtualDirectoryName>" />

For example, if your server name is//<appserver with domain>/, and the virtual directory name is SRD713, the <baseUri> must be:

<services baseUri="https://<appserver with domain>/SRD713"/>

Password encryption

The encryption of the password is performed on <connectionString> section in the web.config file.

  1. Open the command prompt in the administrator mode.

  2. Change the directory using cd.. command, and execute the following commands:

    1. %windir%\Microsoft.NET\Framework64\v4.0.30319

    2. >aspnet_regiis -pef "connectionStrings" "D:\SRD713" . Your password is now encrypted.

D:\SRD713 is the web.config file location.

Launch SQL*Plus and connect to your database as M_SYS.

Execute this command to get the encrypted password of M_SERVICE user:

select M_PCK_DB.epa('PASSWORD') from dual;

For example:

SQL> select M_PCK_DB.epa('PASSWORD') from dual;

M_PCK_DB.EPA('PASSWORD')

-------------------------------------------------

aw7ZXJ234XD

To decrypt the password, use > aspnet_regiis -pdf "connectionStrings" "D:\SRD713".