CPA Lookup Service

The CPA Lookup service retrieves the relevant Collaborative Partner Agreement (CPA) information from an XML file based on an input CPA ID.

The following table provides an overview of the CPA Lookup service:

System name CPALookup
Graphical Process Modeler (GPM) category All Services
Description Retrieves the relevant Collaborative Partner Agreement (CPA) information from an XML file based on an input CPA ID.
Preconfigured? Yes
Requires third-party files? No
Platform availability All supported Sterling B2B Integrator platforms
Related services No
Application requirements No
Initiates business processes? No
Invocation Runs as part of a business process.
Business process context considerations None
Returned status values
Returned status values:
  • Basic status Success – Transformation was successful.
  • Basic status Error – Errors were encountered during transformation or transformation could not be performed. The report contained in the Workflow Context Status report should be consulted for further detail.
Restrictions The CPA Lookup service can only read information stored in cpa-store.xml.
Testing considerations To test the CPALookup service, make sure you have set the location of CPA Store correctly. Create a sample business process and execute it. The most frequent problems encountered are:
  • Invalid CPA Store location
  • Non-existent CPA ID, service name, service type and action name in CPA Store
  • Adapter is not active.

Implementing the CPA Lookup Service

To implement the CPA Lookup service, complete the following tasks:
  1. Use the pre-installed copy of the CPA Lookup service, or create a new configuration. See Managing Services and Adapters.
  2. Use the CPA Lookup service in a business process.

Configuring the CPA Lookup Service

There is no configuration necessary for the CPA Lookup service.