Rules for REST and SOAP

Hello, Rules to be created to provide a Service either in SOAP or REST?

Regards

Pradeep

@PradeepC17208026

Please use the connector wizard to generate the Connect REST and SOAP rules. Please find the below documentation for more details, along with step-by-step instructions.

Pre-req: Pegasystems Documentation

REST Integration: Pegasystems Documentation

SOAP Integration: Pegasystems Documentation

Hi @PradeepC17208026

When we provide a Service, i.e Pega Application is acting as a Service provider.

Service rule should be created additionally below rules Like

Class Structure: Input Class (To create input properties), Output Class(Output properties), Service Class to create the Service rule.

Parse Rules: ParseXML and XMLStream rules for conversion

Service Package: To create Authentication, Access Group

Service Rule: To define the Service

Service Activity: To define the logic.

Hi@PradeepC17208026

Creating a SOAP or REST service in Pega involves several key steps.

For SOAP Services:

  1. Service Package: Create a service package and define its name and access group.
  2. SOAP Service: Create a SOAP service, configure its endpoint, and define request/response parameters.
  3. Service Method: Specify the service method and use Data Transforms or Activities for processing.
  4. Security: Define authentication and authorization rules.
  5. Testing and Deployment: Test with tools like SOAP UI and deploy.

For REST Services:

  1. Service Package: Create a service package similar to SOAP.
  2. REST Service: Create a REST service, configure endpoints, and specify HTTP methods.
  3. Service Resources: Define resource paths and data structures.
  4. Service Logic: Implement logic using Data Pages, Data Transforms, or Activities.
  5. Security: Similar security configuration as SOAP.
  6. Testing and Deployment: Test with tools like Postman and deploy.