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.
-
Open the command prompt in the administrator mode.
-
Change the directory using cd.. command, and execute the following commands:
-
%windir%\Microsoft.NET\Framework64\v4.0.30319
-
>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".