ebXML CPA Lookup Service

The ebXML CPA Lookup service retrieves CPA information before it creates a new ebXML outbound message or before it validates an ebXML inbound message.

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

System name ebXMLCPALookupService
Graphical Process Modeler (GPM) categories All Services, Internet B2B - ebXML
Description Retrieve CPA information based on service/action or business request.
Note: CPA 2.0 is supported.
Business usage Used for retrieving CPA information before creating a new ebXML outbound message or before validating an ebXML inbound message.
Usage example A business process that needs to retrieve specific CPA information can invoke this service by passing the required parameters.
Preconfigured? No
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 No
Returned status values None
Restrictions No
Persistence level System default
Testing considerations To test a configuration of the ebXML CPA Lookup service, provide the necessary input parameters.

Output from Service to Business Process

The following table describes the output from the ebXML CPA Lookup service to the business process:

Parameter Description
cpa CPA info

Output from Business Process to Service

The following table describes the output from the business process to the ebXML CPA Lookup service:

Parameter Description
cpa_id A unique value that identifies the alias name of CPA. Required.
service A unique value that identifies the service of the ebXML message
serviceType A unique value that identifies the service type of the ebXML message. Optional.
action A unique value that identifies the action of the ebXML message. Optional.
b2b-message-mode A flag for ebXML Lite which is passed from trading partner. Valid values are Send and Respond. Optional.
BPSSMode A flag that identifies whether ebXML message is outbound or inbound. Valid values are Send and Receive. Required.
thisPartyId A unique value that identifies the party name or ID of the current Trading Partner. Optional.
fromb2bInbound A flag that identifies that the message is not the first request. Valid values are "" or true. Optional.
binaryCollaboration A unique value that identifies the binaryCollaboration of the ebXML message. Optional.
businessTransactionActivity A unique value that identifies the businessTransactionActivity of the ebXML message. Optional.
requestOrResponseAction A unique value that identifies the requestOrResponseAction of the ebXML message. Optional.

Business Process Example

The following example illustrates by using the ebXML CPA Lookup service in a business process:

<process name="testEBXMLCPALookupService"> 
    <sequence> 
        <operation name="ebXMLCPALookup"> 
            <participant name="ebXMLCPALookupService"/> 
            <output message="ebXMLCPALookupInputMessage"> 
                  <assign to="." from="*"/> 
            </output> 
            <input message="ebXMLCPALookupOutputMessage"> 
                  <assign to="." from="*"/> 
            </input>			 
        </operation>		 
     </sequence> 
</process> 

Implementing the ebXML CPA Lookup Service

To implement the ebXML CPA Lookup service for use in a business process:
  1. Create an ebXML CPA Lookup service configuration. See Managing Services and Adapters.
  2. Use the ebXML CPA Lookup service in a business process.