Understanding Application Service for Chatbot Integration Framework

The Application Services are application logic that are exposed as a service. These services can be used to call relevant application functionality as part of a transaction or query. Chatbot Integration Framework delivers some services that can be used to help the chatbot carry out various tasks that these services allow to perform. To integrate the chatbot with the application services, you need to create a proxy user. This proxy user is used for the chatbot to communicate with the application services.

  1. Create a proxy user on the PeopleSoft system. It is recommended not to give PIA access to this user.

  2. Assign the following roles to the proxy user:

    1. PTCB_USER

    2. EOCB_SERVICE_USER

Note: The PeopleSoft application service should be exposed to the open Web for the ODA to access the PeopleSoft REST services. PeopleSoft should have a certificate issued from a valid certifying authority.

The Chatbot Integration Framework delivers a set of application services. They are:

App ID

ID for Service URL

Description

EOCB_GETMSGCATLOG

ps.GetMessageCatalogs

Message Catalogs without parameter substitution.

EOCB_GETSYSTEMVARIABLES

ps.GetSystemVariables

Get System Variables.

EOCB_GUID_TO_PSTOKEN

ps.AuthenticateGUID

Authenticate a user’s chatbot GUID.

EOCB_VERIFY_SERVICE_ACCESS

ps.VerifyServiceAccess

Verify current user’s access to a service

Note: It is recommended to use the EOCB_VERIFY_SERVICE_ACCESS (ps.VerifyServiceAccess) with Application Service ID or its corresponding ID to handle authorization rejections early in the dialog flow of ODA.

If users need to create new service, then they can use the Application Service Framework to create custom services.

For more information please refer the documentation on Application Service Framework https://support.oracle.com/epmos/faces/DocumentDisplay?id=2557046.1

For more details on how to generate custom components for new services for your chatbot, please refer the red paper on Chatbot Integration Framework. https://support.oracle.com/epmos/faces/DocumentDisplay?id=2558379.1