A REST connector is called by a connector activity — an activity with the Activity Type set to Connect that applies to a class derived from the Work- base class. Such activities can be referenced in an Integrator shape () in a flow rule.
Connector activities have the following kinds of steps:
Note: For information about how to handle attachments with connectors in Pega 6.2 and later, see Using attachments with SOAP, dotNet, and HTTP connectors and services
To perform REST connector processing asynchronously:
Queue
When a customer has a Connector rule for an HTTP-based protocol such as HTTP, SOAP, REST, and sometimes Email, they may point to an SSL-enabled ("https") endpoint. The service that is connected to will provide an SSL certificate in order to identify itself and secure the connection.
Pega 7 relies on the Application Server in order to "trust" the certificate that another service provided. When Pega 7 is deployed in tomcat, this usually means that the default java trust store is in use. IBM Websphere has its own trust store, controlled in the Admin Console.
When the certificate provided by a service is not in the trust store, or otherwise not trusted (for instance, it is out of date or issued to a different organization), Pega 7 cannot complete the connection and an exception such as "Peer not authenticated" results.
It is the responsibility of the customer to ensure that the application server's trust store is set up correctly.
For information on gathering performance information about this connector see Testing Services and Connectors, a document on the Integration pages of the PDN.