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
AuthorizeWebServiceaction in theAuthenticationHeadereSpace or optionally, in the FASt Managerom_apm_consumereSpace, 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
AuthenticationHeaderas 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 theAuthorizeWebServiceaction.
Note: For consumer template, find usages ofAM_DataCalland add the authorization piece of code before every usage. For the small business template, find usages ofGetAndUpdateSBSSForApplicationand add the authorization piece of code before every usage.
-
Add
AuthorizeWebServiceaction fromAuthenticationHeaderreference 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 useAuthorizeWebServiceaction from theAuthenticationHeaderreference to set the correct credentials for the service invocation. -
In the Designer, enter the parameter values for
AuthorizeWebServiceexecute action, webRefName and webRefURL.The webRefName is AMServiceImplService and WeRefURL is the AM WSDL. Use theGetURLAMAPI 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