0% found this document useful (0 votes)
408 views31 pages

Integration in Pega PRPC

This document provides instructions for building a SOAP service in SAP Cloud Platform for validating vehicle identification numbers (VINs). The key steps are: 1. Create a database table to store VIN, company, make year, and model data 2. Create classes to define requests, responses, and the service 3. Build parsing, streaming, and fetching rules to extract VIN details from requests and return responses 4. Configure a service package, SOAP service, and activity to access the VIN validation functionality 5. Create a connector SOAP to utilize the new validation service

Uploaded by

ravi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
408 views31 pages

Integration in Pega PRPC

This document provides instructions for building a SOAP service in SAP Cloud Platform for validating vehicle identification numbers (VINs). The key steps are: 1. Create a database table to store VIN, company, make year, and model data 2. Create classes to define requests, responses, and the service 3. Build parsing, streaming, and fetching rules to extract VIN details from requests and return responses 4. Configure a service package, SOAP service, and activity to access the VIN validation functionality 5. Create a connector SOAP to utilize the new validation service

Uploaded by

ravi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 31

Requirement:

Build a SOAP service for VIN validation.

1. Request VIN(Input)
2. Respond should be given in VIN, Company, Make year, model
3. Repository of VIN information is stored in a table.

Create a Table VINDetails from Data explorer with VIN , Company , Make Year and Model
Click on Submit.

Create all necessary fields as below


Click on Source tab and Make VIN as class key.

Click on Submit.

Now Go to Records and add data.


Now Create a Class under Unit class group.
Click on Create and Open.

Inherit Current class from OOTB Int- class.

Click on Save.
Now click on Save.

Now Create

Class under Int class which is created above.


Click on Create and Open button.

Similarly, Create VINResponse class.


Click on Create and Open.

Now Create a VINRequest page in VINRequest class.


Click on Save.

Now Create a VINReponse page under VINResponse class


Now Create VINService as abstract class to create all necessary service rules.

Click on Save.

Create a VINResponsePage in VINService class which points to VINRequest class


Click on Save.

Similarly ..Create aVINResponsePage in VINService class which points to VINRequest class

Now Create ParseXML rule in VINService Class.


Enter valid Label and Root Element.

Click on ‘Create and Open’


Now Add Element under VINRequestPage by clicking on ‘Add Element’ button.
Now Configure the element.

Click on ok and Save the rule.


Save.

Now Create XML Stream rule.


Add 2 elements and configure the second element.

Configure the third element.

Doble click on third element and configure


Similarly add elements for Company, Model and Make Year.

Enter NameSpace details in the Root element.


Click on Node and EnterName space.

Click on OK

And save the rule.


Now Create Service Package , Service SOAP and Create an Activity to fetch VIN details.

Click on Create and Open button.


Click on Save.
Click on ‘Create and Open’ button.

Now click on Request tab.


Click on Save.

Go to Service package.
Click o Refresh Method.

After refresh Deployment links are populated.

SOAP Service configuration is successful.


Create a Connect SOAP and utilize the above service which is created.
Configure the details as per above screenshot.

Click on Next.

Click on Next.
Click on Next.
Click on Finish.
Verify all the classes which are created.
Connector SOAP is created successfully.

You might also like