Accessing AM from APM
The
AM component exposes standard web service endpoints for accessing the deployed decision services.
- In DMP, obtain the URL for the AM component service endpoint (SOAP endpoint).
-
In the
FASt Manager, update
AM adapter eSpace
om_apm_am_adapter
, Integrations > ConsumedWebService > AMServiceImplService property with the AM WSDL and save the changes. -
Set the parameter values
clientId and
secret
for
AuthorizeWebService
action in theAuthenticationHeader
eSpace or optionally, in the FASt Managerom_apm_consumer
eSpace, create Site Properties > AMClientID and AMSecretID.All component endpoints are secure, and require client authentication before they can be invoked. Authorizing access to a decision component requires values you obtain from the solution in your DMP Library. You can obtain the values for Client Id and Secret Id by clicking the Key icon next to the solution name. -
In the Designer, add
AuthenticationHeader
as a reference to om_apm_consumer eSpace.A FASt application such as APM that calls a decision service must include a reference toAuthenticationHeader
. Each action that invokes a decision service such as AM, the workflow must first call theAuthorizeWebService
action.Note: For consumer template, find usages ofAM_DataCall
and add the authorization piece of code before every usage. For the small business template, find usages ofGetAndUpdateSBSSForApplication
and add the authorization piece of code before every usage. -
Add
AuthorizeWebService
action fromAuthenticationHeader
reference to the consumer workflow before you invoke AM decision service.Each web service in your eSpace has an action that you can add to a flow to call the decision service of the component. However, because the services are secure, you must first useAuthorizeWebService
action from theAuthenticationHeader
reference to set the correct credentials for the service invocation. -
In the Designer, enter the parameter values for
AuthorizeWebService
execute action, webRefName and webRefURL.The webRefName is AMServiceImplService and WeRefURL is the AM WSDL. Use theGetURLAM
API in the consumer workflow to get the web service URL and service name from the adapter eSpace, om_apm_am_adapter. - Publish eSpace, om_apm_consumer. Or, similarly publish the eSpace as per the template you are using and publish all outdated eSpaces.
Home
Decision Management Platform (DMP) Integration
Analytic Module Integration
Accessing AM from APM
Origination Manager Application Processing Module Help