Set up the Oracle EBS spoke
Integrate the ServiceNow instance and your Oracle EBS instance using a basic authentication to authenticate the ServiceNow requests.
Before you begin
- Request an Integration Hub subscription.
- Activate the Oracle EBS spoke.
- Admin access to the Oracle EBS account.
- Role required: admin.
Set up for Oracle Database 12C and later versions
Configure Oracle Database 12C and later versions to work with the Oracle E-Business Suite spoke by deploying REST APIs and setting up ServiceNow connections.
Before you begin
Role required: admin
Procedure
- From the ServiceNow® Store Oracle E-Business Suite Spoke Dependencies for Oracle Database 12c and 18c download the project file, Oracle_e-business_suite spoke_dependencies.zip and save it in the required local folder.
- Unzip the contents of the Oracle_e-business_suite spoke_dependencies.zip file.
-
In SQL Developer or an SQL client, compile all the PKB and PLS files in the APPS schema.
Figure 1. -
In Oracle EBS server, deploy the
Oracle EBS REST API.
For the steps to enable the REST API per extension, see Deploying REST Web Services.
You must perform these steps for every PLS file. While deploying each PLS file, you must provide the relevant values. Here, the procedure is outlined using XXSN_CREATE_PO_PKG.pls as an example.
-
Copy and upload the compiled package .pls files to these respective directories:
- $PO_TOP/patch/115/sql/tmp/
- $PO_TOP/patch/115/sql/
Note:Ensure that you replace the $PO_TOP with the module the package belongs to such as, $AP_TOP, $PO_TOP, and so on. -
Log in to PuTTY of your
Oracle EBS server and execute the Integration Repository Parser.
- To generate an iLDT (*.ildt) file, execute the Integration Repository Parser using this syntax:
$IAS_ORACLE_HOME/perl/bin/perl $FND_TOP/bin/irep_parser.pl -g -v -username=sysadmin po:patch/115/sql:XXSN_CREATE_PO_PKG.pls:12.0=$PO_TOP/patch/115/sql/tmp/XXSN_CREATE_PO_PKG.pls - If you aren't generating .ildt file for the XXSN_CREATE_PO_PKG.pls file, replace
poand$PO_TOPwith requiredTop. - If you aren't generating .ildt file for the XXSN_CREATE_PO_PKG.pls file, replace
XXSN_CREATE_PO_PKG.plswith the required package name.
Figure 2. - To generate an iLDT (*.ildt) file, execute the Integration Repository Parser using this syntax:
-
Upload the generated iLDT file to Integration repository by executing this command:
$FND_TOP/bin/FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/wfirep.lct XXSN_CREATE_PO_PKG_pls.ildtNote:ReplaceXXSN_CREATE_PO_PKG_with the required package name.Figure 3. - Log in to your Oracle E-Business Suite instance as system administrator.
-
Switch to the Integrated SOA Gateway responsibility and select Integration Repository.
Figure 4. -
Search for the web service with the internal name, XXSN_CREATE_PO_PKG.
Figure 5. -
Click the link in the search result to access the list of available metods in the interface package.
Figure 6. Note:In the PL/SQL interface type, both SOAP and REST web services are available. However, this procedure focuses on the REST web service. -
Click the REST Web Service tab.
- Set an alias for this service. For exmaple, hr.
- Click Deploy.
-
View the Create PO method by clicking the REST Web Service tab.
Figure 7. Figure 8. -
Enter the unique service alias name, select the Create PO method, and click Deploy.
Figure 9. A confirmation message is displayed that the service is successfully deployed. - Click View WADL to access the physical location of the service endpoint where the service is hosted.
-
Open the Grants tab, select Create PO, and click Create Grant.
Figure 10. -
Select a grantee type, enter the user name to whom you want to give the grant access to use the web service, and click Create Grant.
Figure 11. A confirmation message is displayed mentioning that the grant has been successfully created.Figure 12. Note:To revoke grant, click Revoke Grants in the Grants tab and select the required users. -
Perform the above steps for all the required actions and ensure that you use the same names (associated with the respective action) as mentioned in the Resource Path column of the following table:
-
Restart the server and using PuTTY, perform these steps up on logging in to the
Oracle EBS server.
- Execute the commands: cd $ADMIN_SCRIPTS_HOME and ./adadminsrvctl.sh stop.
- Enter the WebLogic password and EBS password.
- Execute the command, ./adadminsrvctl.sh start.
- Enter the WebLogic password and EBS password.
- To check the status, execute the command, ./adadminsrvctl.sh status.
-
Copy and upload the compiled package .pls files to these respective directories:
-
Create a credential record for the
Oracle EBS spoke.
- Navigate to Connections & Credentials > Credentials.
-
Click New.
The system displays the message What type of Credentials would you like to create?.
- Select Basic Auth Credentials.
-
On the form, fill these values.
Field Description Name Name to uniquely identify the credential record. For example, OEBS Cred. User name User name to log in to the Oracle EBS instance. Password Password to log in to the Oracle EBS instance. Active Option to actively use the credential record. - Click Submit.
-
Create a connection record for the
Oracle EBS spoke.
- Navigate to Connections & Credentials > Connection & Credential Aliases.
- Open the record for the Oracle EBS spoke.
- From the Connections tab, click New.
-
On the form, fill these values.
Field Description Name Name to uniquely identify the connection record. For example, OEBS Conn. Credential Credential record you created for the Oracle EBS spoke. Connection URL Connection URL to connect to your Oracle EBS instance. - Click Submit.
Set up for Oracle Database 19C and later versions
Configure Oracle Database 19C and later versions to work with the Oracle E-Business Suite spoke by deploying REST APIs and setting up ServiceNow connections.
Before you begin
Role required: admin
Procedure
- From the ServiceNow® Store Oracle EBS Spoke Dependencies for Oracle Database 19c or later download the project file, Oracle_e-business_suite spoke_dependencies.zip and save it in the required local folder.
- Unzip the contents of the Oracle_e-business_suite spoke_dependencies.zip file.
- In SQL Developer or an SQL client, compile all the PKB and PLS files in the APPS schema.
-
Review the module package reference to identify the correct values for your deployment.
The following table lists the .pls filename, $TOP variable, product short-code, and service alias required for each Oracle EBS module. Use the values in this table wherever the steps below reference a module-specific path, product code, or alias.
Module Package (.pls filename) $TOP variable Product code Service alias General Ledger xxsn_gl_integration_pkg.pls $GL_TOP glxxsn_gl_integration_pkgAP — Supplier xxsn_supplier_integration_pkg.pls $AP_TOP apxxsn_supplier_integration_pkgPurchasing xxsn_po_integration_pkg.pls $PO_TOP poxxsn_po_integration_pkgAccounts Payable xxsn_ap_integration_pkg.pls $AP_TOP apxxsn_ap_integration_pkgFixed Assets xxsn_fa_integration_pkg.pls $FA_TOP faxxsn_fa_integration_pkgSourcing xxsn_pon_integration_pkg.pls $PON_TOP ponxxsn_pon_integration_pkgInventory xxsn_inv_integration_pkg.pls $INV_TOP invxxsn_inv_integration_pkgCommon xxsn_common_integration_pkg.pls $FND_TOP fndxxsn_common_integration_pkgReceivables xxsn_ar_integrations_pkg.pls $AR_TOP apxxsn_ar_integrations_pkgOrder Management xxsn_om_integration_pkg.pls $ONT_TOP ontxxsn_om_integration_pkg -
In
Oracle EBS server, deploy the
Oracle EBS REST API.
For the steps to enable the REST API per extension, see Deploying REST Web Services.
You must perform these steps for every PLS file. While deploying each PLS file, you must provide the relevant values. Here, the procedure is outlined using xxsn_gl_integration_pkg.pls as an example.
-
Copy and upload the compiled package .pls files to these respective directories:
- $GL_TOP/patch/115/sql/tmp/
- $GL_TOP/patch/115/sql/
Note:Ensure that you replace the $GL_TOP with the $TOP variable for the module the package belongs to. For the correct $TOP variable per module, see the module package reference table in the previous step. -
Grant
777permissions to the uploaded .pls file.In your SFTP client, right-click the .pls file, click Properties, and set the Octal permission value to 0777.
Note:777 permissions are required for the Integration Repository parser to process the file. Without this step, the command in the next substep fails. -
Log in to PuTTY of your
Oracle EBS server and execute the Integration Repository Parser.
- To generate an iLDT (*.ildt) file, execute the Integration Repository Parser using this syntax:
$IAS_ORACLE_HOME/perl/bin/perl $FND_TOP/bin/irep_parser.pl -g -v -username=sysadmin gl:patch/115/sql:xxsn_gl_integration_pkg.pls:12.0=$GL_TOP/patch/115/sql/xxsn_gl_integration_pkg.pls - If you aren't generating the .ildt file for the xxsn_gl_integration_pkg.pls file, replace
gland$GL_TOPwith the product code and $TOP variable for the required module. For the correct values per module, see the module package reference table in the previous step. - If you aren't generating the .ildt file for the xxsn_gl_integration_pkg.pls file, replace
xxsn_gl_integration_pkg.plswith the required package name.
- To generate an iLDT (*.ildt) file, execute the Integration Repository Parser using this syntax:
-
Upload the generated iLDT file to Integration repository by executing this command:
$FND_TOP/bin/FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/wfirep.lct xxsn_gl_integration_pkg_pls.ildtNote:Replacexxsn_gl_integration_pkg_with the required package name. - Log in to your Oracle E-Business Suite instance as system administrator.
-
Switch to the Integrated SOA Gateway responsibility and select Integration Repository.
-
Search for the web service with the internal name, xxsn_gl_integration_pkg.
-
Click the link in the search result to access the list of available methods in the interface package.
Note:In the PL/SQL interface type, both SOAP and REST web services are available. However, this procedure focuses on the REST web service.
-
Click the REST Web Service tab.
- In the Service Alias field, enter the service alias for your module. For the correct alias value per module, see the module package reference table in the previous step.Note:The service alias must exactly match the value in the Service Alias column of the module package reference table. Aliases are case-sensitive.
- Click Deploy.
- In the Service Alias field, enter the service alias for your module. For the correct alias value per module, see the module package reference table in the previous step.
-
View the General Ledger Integration service method by clicking the REST Web Service tab.
-
Enter the unique service alias name, select the required method, and click Deploy.
A confirmation message is displayed that the service is successfully deployed.
- Click View WADL to access the physical location of the service endpoint where the service is hosted.
-
Open the Grants tab, select the required method, and click Create Grant.
-
Select a grantee type, enter the user name to whom you want to give the grant access to use the web service, and click Create Grant.
A confirmation message is displayed mentioning that the grant has been successfully created.Note:To revoke grant, click Revoke Grants in the Grants tab and select the required users.
- Perform the above steps for all the required actions and ensure that you use the same names (associated with the respective action) as mentioned in the Resource Path column of the following table:
-
Restart the server and using PuTTY, perform these steps up on logging in to the
Oracle EBS server.
- Execute the commands: cd $ADMIN_SCRIPTS_HOME and ./adadminsrvctl.sh stop.
- Enter the WebLogic password and EBS password.
- Execute the command, ./adadminsrvctl.sh start.
- Enter the WebLogic password and EBS password.
- To check the status, execute the command, ./adadminsrvctl.sh status.
-
Copy and upload the compiled package .pls files to these respective directories:
-
Create a credential record for the
Oracle EBS spoke.
- Navigate to Connections & Credentials > Credentials.
-
Click New.
The system displays the message What type of Credentials would you like to create?.
- Select Basic Auth Credentials.
-
On the form, fill these values.
Field Description Name Name to uniquely identify the credential record. For example, OEBS Cred. User name User name to log in to the Oracle EBS instance. Password Password to log in to the Oracle EBS instance. Active Option to actively use the credential record. - Click Submit.
-
Create a connection record for the
Oracle EBS spoke.
- Navigate to Connections & Credentials > Connection & Credential Aliases.
- Open the record for the Oracle EBS spoke.
- From the Connections tab, click New.
-
On the form, fill these values.
Field Description Name Name to uniquely identify the connection record. For example, OEBS Conn. Credential Credential record you created for the Oracle EBS spoke. Connection URL Connection URL to connect to your Oracle EBS instance. - Click Submit.