Accessing AM from APM

The AM component exposes standard web service endpoints for accessing the deployed decision services.
  1. In DMP, obtain the URL for the AM component service endpoint (SOAP endpoint).
  2. In the FASt Manager, update AM adapter eSpace om_apm_am_adapter, Integrations > ConsumedWebService > AMServiceImplService property with the AM WSDL and save the changes.
  3. Set the parameter values clientId and secret for AuthorizeWebService action in the AuthenticationHeader eSpace or optionally, in the FASt Manager om_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.
  4. 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 to AuthenticationHeader. Each action that invokes a decision service such as AM, the workflow must first call the AuthorizeWebService action.
    Note: For consumer template, find usages of AM_DataCall and add the authorization piece of code before every usage. For the small business template, find usages of GetAndUpdateSBSSForApplication and add the authorization piece of code before every usage.
  5. Add AuthorizeWebService action from AuthenticationHeader 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 use AuthorizeWebService action from the AuthenticationHeader reference to set the correct credentials for the service invocation.
  6. 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 the GetURLAM API in the consumer workflow to get the web service URL and service name from the adapter eSpace, om_apm_am_adapter.
  7. Publish eSpace, om_apm_consumer. Or, similarly publish the eSpace as per the template you are using and publish all outdated eSpaces.
  • www.fico.com