SlideShare a Scribd company logo
0 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
© Copyright 2019 WNS (Holdings) Ltd. All rights reserved
PeopleSoft Web Services
Overview
Huda Nizami
1 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Agenda
01
02
03
04
05
Determine input/output parameters along with their datatype, length and format
What is a PeopleSoft Web service?
Understanding Synchronous Request-Response behaviour
Steps to create a PeopleSoft Web Service
Testing services
2 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
What is a PeopleSoft Web service?
 A PeopleSoft Web service is a software service that
allows multiple applications built with different
technologies to communicate with each other.
 This provides external applications a means to
get/create/update PeopleSoft data.
 Examples:
– Get data: Check if employee has access to view
invoice details through Chatbot application
– Create data: Submit Employee Connect ticket
through Chatbot application
– Update data: Change mobile number in personal
profile through hYve app
3 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Determine Input parameters for a service
Let’s understand with an example: How do we determine Input parameters?
 ‘Operator Id’ and ‘Token’ are crucial for validating user, hence
they are necessary in all services.
 ‘Unique Id’ is another important input parameter used in all
services to avoid cache issues and always fetch fresh results.
This can be any random alpha-numeric-character value which
should always be unique for each service hit . It is not validated
or processed in business logic/code.
 The service-specific inputs are determined on the basis of data
required to get output.
 In the case of Employee access service, employee id is the
only input required for the view
APPS.WNS_CB_INV_EMP_ALLOW_VW, and we fetch it using
Operator Id from the PeopleSoft “user-employee” mapping.
4 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Determine Output parameters for a service
Let’s understand with an example: How do we determine Output parameters?
 ‘Flag’ and ‘Message’ are important output parameters where
Flag indicates success or failure of the service and Message
provides further details to user.
 The service-specific outputs are determined on the basis of
what we are trying to achieve through service.
 In the case of Employee access service, YES_NO parameter
will show output returned by view
APPS.WNS_CB_INV_EMP_ALLOW_VW.
5 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Determine Datatype, Length and Format for Input/Output parameters
Let’s understand with few examples: How do we determine datatype, length & format for the
parameters?
 Data type for all parameters are generally chosen as “String” to
ensure sanity of data and any numeric or date values are
converted internally in code for processing if needed.
 The exception is Base64 string for file uploads, where Data
type is selected as “Text” since this type does not have any
length limitation.
 Length is determined on the basis of PeopleSoft field lengths,
mostly it is kept more than the PeopleSoft field length to
account for any additional characters and avoid errors.
 Length for parameters like Unique Id, Flag and Message are
decided by the type of data we intend to send though the
parameters.
 Format helps target application like Chatbot/hYve mobile App
send input data to PeopleSoft in a consistent and uniform way.
6 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Target
Application**
Understanding Synchronous Request-Response behaviour
** Target Application can be Chatbot Application, hYve Mobile Application, etc.
PeopleSoft
Database
Service URL +
Request Message with input data
Response Message with output
data
7 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Steps to create a PeopleSoft Web Service
1. Create a “Request Document” and a “Response document” based on the input and output
parameters respectively.
2. Wrap the Request document in a “Request Message” and the Response document in a
“Response Message”.
3. Create a “Service”.
4. Create a “Service Operation” of type POST and include Service Operation in the Service.
5. Attach a Permission list to POST Service Operation providing Full Access.
6. Create an “Application Package and Class” and write business logic/code to indicate how the
service should work.
7. Attach the Request and Response messages in the POST Service Operation.
8. Attach the Application package and class in the POST Service Operation.
9. A Service Operation of type GET** is also created for Load Testing purpose. This is not
consumed by any application, only used internally for testing. To set up GET Service Operation,
follow steps 5-8 from above.
**Why not use GET Service Operation in applications?
Because: GET requests are not ideal as they can be cached, can remain in the browser history, they
can be bookmarked, distributed & shared and are not safe for dealing with sensitive data.
8 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Step 1. Request and Response Documents
Request Document
Response Document
Request JSON**
Response JSON**
**JSON stands for JavaScript Object Notation
which is a language-independent data format
derived from JavaScript.
9 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Step 2. Request and Response Messages
A Message is simply a
container for a Document.
Request Message
Response Message
10 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Step 3. Service
REST services:
 There are two types of PeopleSoft services we should know
about – REST and SOAP.
 For Chatbot and hYve Mobile app, we use REST services. It
stands for REpresentational State Transfer.
 SOAP works with data format XML whereas REST permits
many data formats including JSON format required for our
applications.
 Also unlike SOAP, REST provides standard GET/POST
operations, it is synchronous and designed for point to point
communication.
 They are also simple, lightweight, and fast compared to SOAP.
 REST is more popular today with web/app developers due to
it's simplicity over SOAP and other methods.
Service
11 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Step 4 & 5. Service Operation & Permission list
Step 4: Service Operation
Step 5: Attach permission list providing Full
Access
12 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Step 5. Application Package & class: Business Logic/Code – Page 1
 Application package:
Z_BOT_EMP_INV_INFO_PKG
 Application class:
Get_EmployeeInvoiceInformation
13 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Step 5. Application Package & class: Business Logic/Code – Page 2
 Application package:
Z_BOT_EMP_INV_INFO_PKG
 Application class:
Get_EmployeeInvoiceInformation
14 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Step 7 & 8. Messages & Application Package/class
Step 7: Attach Request & Response messages to Service Operation
Step 8: Attach Application package & class for business logic
15 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Testing Web Services
Web services undergo following tests:
1. Unit Testing : (by developer)
2. Load Testing : (by developer/technical team)
3.
Application
Testing
:
(by target team i.e. Mobile Application team/Chatbot application
team)
4.
(UAT) User
Acceptance
Testing
: (by users)
16 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Steps to test service in Postman:
 In the Postman tool, start a new tab,
select service type as POST in the
left-hand corner and enter service
URL on the right.
 Below the URL bar, select “Body”
keyword, then select “raw” keyword
and change type to “JSON
(application/json)”.
 Enter Request JSON with the input
data in the body section.
 Hit the Send button at the right-hand
corner (in blue).
 Output (in JSON format) will show up
at the bottom.
Testing Web Services – Unit Testing – Page 1
Web services can be tested using Google Chrome’s Postman Extension/Add-in.
17 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Testing Web Services – Unit Testing – Page 2
Services are tested
for different
scenarios with
multiple sets of data.
18 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Testing Web Services – Load Testing – Page 1
 For load testing, we team up with the WNS SDG team and provide Service URLs and input data for all services.
 The Service URLs are generated through GET Service Operation (not POST) as it has all the input parameters in the URL itself and
does not require Request JSON.
 GET Service URL:
https://mypsftuat.wns.com/PSIGW/RESTListeningConnector/PSFT_HR/Z_BOT_EMPINV_ALLW_SRV_OPR.v1/OPRID/u100644/1234
567~TK001/uniqueidtest1
Files for all Sample counts Input File sample
Summary report for Employee Access service
19 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Browser
Postman
Testing Web Services – Load Testing – Page 2
GET Services can be tested using Postman tool or by directly entering in browser URL section.
20 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
Any questions?
21 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved
WNS.COM
This presentation and any files attached and/or transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. No part of this presentation may be given, lent,
resold, or disclosed to any unintended recipients or exploited for any commercial purposes. If you are not the intended recipient and you have received this presentation in error, please return this material to the
sender immediately and forthwith delete and destroy the presentation including any copies thereof from your records. We hereby notify that disclosing, distributing, copying, reproducing, storing in a retrieval system, or
transmitting in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, or taking any action in reliance on the contents of the presentation in its entirety or any part thereof is strictly
prohibited without the prior written consent of WNS, such consent being given at the sole discretion of WNS. Any views or opinion expressed in this presentation are those of the author and do not necessarily
represent that of WNS. WNS makes no representations and to the full extent permissible by applicable law, WNS disclaims any warranties of any kind, express or implied, including any warranty of merchantability,
accuracy, fitness or applicability for a particular purpose, and non-infringement of third party rights, as to the information, content and materials.

More Related Content

What's hot

Instant SMS: Bringing SMS to the next phase and increasing service revenues
Instant SMS: Bringing SMS to the next phase and increasing service revenuesInstant SMS: Bringing SMS to the next phase and increasing service revenues
Instant SMS: Bringing SMS to the next phase and increasing service revenues
Raúl Castañón Martínez
 
Performance of Web Services on Smart Phone Platforms
Performance of Web Services on Smart Phone PlatformsPerformance of Web Services on Smart Phone Platforms
Performance of Web Services on Smart Phone Platforms
IOSR Journals
 
BCP presentation at IBM Connect 2014
BCP presentation at IBM Connect 2014BCP presentation at IBM Connect 2014
BCP presentation at IBM Connect 2014
Flávio Mendes
 
E post office system
E post office system E post office system
E post office system
Ankith kumar Darak
 
Concepts and Derivatives of Web Services
Concepts and Derivatives of Web ServicesConcepts and Derivatives of Web Services
Concepts and Derivatives of Web Services
IOSR Journals
 
MediaRelease
MediaReleaseMediaRelease
MediaRelease
David Connolly
 
EMP Designs Intranet to Emulate iPhone Interface using Open Text Technologies
EMP Designs Intranet to Emulate iPhone Interface using Open Text TechnologiesEMP Designs Intranet to Emulate iPhone Interface using Open Text Technologies
EMP Designs Intranet to Emulate iPhone Interface using Open Text Technologies
Rich_C07
 
IRJET- Implementation of Business Ease Android Application for Akhil Bhar...
IRJET-  	  Implementation of Business Ease Android Application for Akhil Bhar...IRJET-  	  Implementation of Business Ease Android Application for Akhil Bhar...
IRJET- Implementation of Business Ease Android Application for Akhil Bhar...
IRJET Journal
 
Sercomtel presentation at IBM Connect 2014
Sercomtel presentation at IBM Connect 2014Sercomtel presentation at IBM Connect 2014
Sercomtel presentation at IBM Connect 2014
Flávio Mendes
 
What is MMSC platform
What is MMSC platformWhat is MMSC platform
What is MMSC platform
Mahindra Comviva
 

What's hot (10)

Instant SMS: Bringing SMS to the next phase and increasing service revenues
Instant SMS: Bringing SMS to the next phase and increasing service revenuesInstant SMS: Bringing SMS to the next phase and increasing service revenues
Instant SMS: Bringing SMS to the next phase and increasing service revenues
 
Performance of Web Services on Smart Phone Platforms
Performance of Web Services on Smart Phone PlatformsPerformance of Web Services on Smart Phone Platforms
Performance of Web Services on Smart Phone Platforms
 
BCP presentation at IBM Connect 2014
BCP presentation at IBM Connect 2014BCP presentation at IBM Connect 2014
BCP presentation at IBM Connect 2014
 
E post office system
E post office system E post office system
E post office system
 
Concepts and Derivatives of Web Services
Concepts and Derivatives of Web ServicesConcepts and Derivatives of Web Services
Concepts and Derivatives of Web Services
 
MediaRelease
MediaReleaseMediaRelease
MediaRelease
 
EMP Designs Intranet to Emulate iPhone Interface using Open Text Technologies
EMP Designs Intranet to Emulate iPhone Interface using Open Text TechnologiesEMP Designs Intranet to Emulate iPhone Interface using Open Text Technologies
EMP Designs Intranet to Emulate iPhone Interface using Open Text Technologies
 
IRJET- Implementation of Business Ease Android Application for Akhil Bhar...
IRJET-  	  Implementation of Business Ease Android Application for Akhil Bhar...IRJET-  	  Implementation of Business Ease Android Application for Akhil Bhar...
IRJET- Implementation of Business Ease Android Application for Akhil Bhar...
 
Sercomtel presentation at IBM Connect 2014
Sercomtel presentation at IBM Connect 2014Sercomtel presentation at IBM Connect 2014
Sercomtel presentation at IBM Connect 2014
 
What is MMSC platform
What is MMSC platformWhat is MMSC platform
What is MMSC platform
 

Similar to PeopleSoft Web Services high level overview

A WEB-BASED SERVICE MARKETPLACE
A WEB-BASED SERVICE MARKETPLACEA WEB-BASED SERVICE MARKETPLACE
A WEB-BASED SERVICE MARKETPLACE
IRJET Journal
 
TRAFFIC - Thomas-Rettig-Lawrence -FINAL camera ready (1)
TRAFFIC - Thomas-Rettig-Lawrence -FINAL camera ready (1)TRAFFIC - Thomas-Rettig-Lawrence -FINAL camera ready (1)
TRAFFIC - Thomas-Rettig-Lawrence -FINAL camera ready (1)
Donna Thomas
 
Sara Omran's CV August2015_Senior Testing Analyst-Test Lead
Sara Omran's CV August2015_Senior Testing Analyst-Test LeadSara Omran's CV August2015_Senior Testing Analyst-Test Lead
Sara Omran's CV August2015_Senior Testing Analyst-Test Lead
Sara Omran
 
Open Banking on AWS
Open Banking on AWSOpen Banking on AWS
Open Banking on AWS
Amazon Web Services
 
Naresh_SAPTech_Consultant_SAP01
Naresh_SAPTech_Consultant_SAP01Naresh_SAPTech_Consultant_SAP01
Naresh_SAPTech_Consultant_SAP01
Naresh Devarakonda
 
Internship- BPAS
Internship- BPASInternship- BPAS
Internship- BPAS
PrathameshGosavi3
 
What does web2.0 mean for operators?
What does web2.0 mean for operators?What does web2.0 mean for operators?
What does web2.0 mean for operators?
Robert Seymour
 
HMRS - Human Resource Management System (VB.Net)
HMRS - Human Resource Management System (VB.Net)HMRS - Human Resource Management System (VB.Net)
HMRS - Human Resource Management System (VB.Net)
Abhishek Raj
 
IRJET- Proficient Business Solutions through Cloud Services
IRJET- Proficient Business Solutions through Cloud ServicesIRJET- Proficient Business Solutions through Cloud Services
IRJET- Proficient Business Solutions through Cloud Services
IRJET Journal
 
Software as-a-service: Strategic Background
Software as-a-service: Strategic BackgroundSoftware as-a-service: Strategic Background
Software as-a-service: Strategic Background
Layne Peng
 
Implementing a Multi Channel Webinar
Implementing a Multi Channel WebinarImplementing a Multi Channel Webinar
Implementing a Multi Channel Webinar
Agencyport Software
 
Software as a Service
Software as a ServiceSoftware as a Service
Software as a Service
AM Publications
 
Vos3000 web manage_manual(vos3000.com)
Vos3000 web manage_manual(vos3000.com)Vos3000 web manage_manual(vos3000.com)
Vos3000 web manage_manual(vos3000.com)
MultaHost1
 
Android Application for Updation
Android Application for UpdationAndroid Application for Updation
Android Application for Updation
IRJET Journal
 
Api enablement-mainframe
Api enablement-mainframeApi enablement-mainframe
Api enablement-mainframe
Maran Gothandaraman
 
International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions (IJEI)International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions www.ijeijournal.com
 
Resume
ResumeResume
Resume
amit kumar
 
Resume
ResumeResume
Resume
amit kumar
 
Dot Net Profile
Dot Net ProfileDot Net Profile
Dot Net Profile
amit kumar
 
Smart Data Server for Smart Shops
Smart Data Server for Smart ShopsSmart Data Server for Smart Shops
Smart Data Server for Smart Shops
IOSR Journals
 

Similar to PeopleSoft Web Services high level overview (20)

A WEB-BASED SERVICE MARKETPLACE
A WEB-BASED SERVICE MARKETPLACEA WEB-BASED SERVICE MARKETPLACE
A WEB-BASED SERVICE MARKETPLACE
 
TRAFFIC - Thomas-Rettig-Lawrence -FINAL camera ready (1)
TRAFFIC - Thomas-Rettig-Lawrence -FINAL camera ready (1)TRAFFIC - Thomas-Rettig-Lawrence -FINAL camera ready (1)
TRAFFIC - Thomas-Rettig-Lawrence -FINAL camera ready (1)
 
Sara Omran's CV August2015_Senior Testing Analyst-Test Lead
Sara Omran's CV August2015_Senior Testing Analyst-Test LeadSara Omran's CV August2015_Senior Testing Analyst-Test Lead
Sara Omran's CV August2015_Senior Testing Analyst-Test Lead
 
Open Banking on AWS
Open Banking on AWSOpen Banking on AWS
Open Banking on AWS
 
Naresh_SAPTech_Consultant_SAP01
Naresh_SAPTech_Consultant_SAP01Naresh_SAPTech_Consultant_SAP01
Naresh_SAPTech_Consultant_SAP01
 
Internship- BPAS
Internship- BPASInternship- BPAS
Internship- BPAS
 
What does web2.0 mean for operators?
What does web2.0 mean for operators?What does web2.0 mean for operators?
What does web2.0 mean for operators?
 
HMRS - Human Resource Management System (VB.Net)
HMRS - Human Resource Management System (VB.Net)HMRS - Human Resource Management System (VB.Net)
HMRS - Human Resource Management System (VB.Net)
 
IRJET- Proficient Business Solutions through Cloud Services
IRJET- Proficient Business Solutions through Cloud ServicesIRJET- Proficient Business Solutions through Cloud Services
IRJET- Proficient Business Solutions through Cloud Services
 
Software as-a-service: Strategic Background
Software as-a-service: Strategic BackgroundSoftware as-a-service: Strategic Background
Software as-a-service: Strategic Background
 
Implementing a Multi Channel Webinar
Implementing a Multi Channel WebinarImplementing a Multi Channel Webinar
Implementing a Multi Channel Webinar
 
Software as a Service
Software as a ServiceSoftware as a Service
Software as a Service
 
Vos3000 web manage_manual(vos3000.com)
Vos3000 web manage_manual(vos3000.com)Vos3000 web manage_manual(vos3000.com)
Vos3000 web manage_manual(vos3000.com)
 
Android Application for Updation
Android Application for UpdationAndroid Application for Updation
Android Application for Updation
 
Api enablement-mainframe
Api enablement-mainframeApi enablement-mainframe
Api enablement-mainframe
 
International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions (IJEI)International Journal of Engineering Inventions (IJEI)
International Journal of Engineering Inventions (IJEI)
 
Resume
ResumeResume
Resume
 
Resume
ResumeResume
Resume
 
Dot Net Profile
Dot Net ProfileDot Net Profile
Dot Net Profile
 
Smart Data Server for Smart Shops
Smart Data Server for Smart ShopsSmart Data Server for Smart Shops
Smart Data Server for Smart Shops
 

Recently uploaded

Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
Federico Razzoli
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 

Recently uploaded (20)

Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 

PeopleSoft Web Services high level overview

  • 1. 0 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved © Copyright 2019 WNS (Holdings) Ltd. All rights reserved PeopleSoft Web Services Overview Huda Nizami
  • 2. 1 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Agenda 01 02 03 04 05 Determine input/output parameters along with their datatype, length and format What is a PeopleSoft Web service? Understanding Synchronous Request-Response behaviour Steps to create a PeopleSoft Web Service Testing services
  • 3. 2 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved What is a PeopleSoft Web service?  A PeopleSoft Web service is a software service that allows multiple applications built with different technologies to communicate with each other.  This provides external applications a means to get/create/update PeopleSoft data.  Examples: – Get data: Check if employee has access to view invoice details through Chatbot application – Create data: Submit Employee Connect ticket through Chatbot application – Update data: Change mobile number in personal profile through hYve app
  • 4. 3 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Determine Input parameters for a service Let’s understand with an example: How do we determine Input parameters?  ‘Operator Id’ and ‘Token’ are crucial for validating user, hence they are necessary in all services.  ‘Unique Id’ is another important input parameter used in all services to avoid cache issues and always fetch fresh results. This can be any random alpha-numeric-character value which should always be unique for each service hit . It is not validated or processed in business logic/code.  The service-specific inputs are determined on the basis of data required to get output.  In the case of Employee access service, employee id is the only input required for the view APPS.WNS_CB_INV_EMP_ALLOW_VW, and we fetch it using Operator Id from the PeopleSoft “user-employee” mapping.
  • 5. 4 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Determine Output parameters for a service Let’s understand with an example: How do we determine Output parameters?  ‘Flag’ and ‘Message’ are important output parameters where Flag indicates success or failure of the service and Message provides further details to user.  The service-specific outputs are determined on the basis of what we are trying to achieve through service.  In the case of Employee access service, YES_NO parameter will show output returned by view APPS.WNS_CB_INV_EMP_ALLOW_VW.
  • 6. 5 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Determine Datatype, Length and Format for Input/Output parameters Let’s understand with few examples: How do we determine datatype, length & format for the parameters?  Data type for all parameters are generally chosen as “String” to ensure sanity of data and any numeric or date values are converted internally in code for processing if needed.  The exception is Base64 string for file uploads, where Data type is selected as “Text” since this type does not have any length limitation.  Length is determined on the basis of PeopleSoft field lengths, mostly it is kept more than the PeopleSoft field length to account for any additional characters and avoid errors.  Length for parameters like Unique Id, Flag and Message are decided by the type of data we intend to send though the parameters.  Format helps target application like Chatbot/hYve mobile App send input data to PeopleSoft in a consistent and uniform way.
  • 7. 6 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Target Application** Understanding Synchronous Request-Response behaviour ** Target Application can be Chatbot Application, hYve Mobile Application, etc. PeopleSoft Database Service URL + Request Message with input data Response Message with output data
  • 8. 7 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Steps to create a PeopleSoft Web Service 1. Create a “Request Document” and a “Response document” based on the input and output parameters respectively. 2. Wrap the Request document in a “Request Message” and the Response document in a “Response Message”. 3. Create a “Service”. 4. Create a “Service Operation” of type POST and include Service Operation in the Service. 5. Attach a Permission list to POST Service Operation providing Full Access. 6. Create an “Application Package and Class” and write business logic/code to indicate how the service should work. 7. Attach the Request and Response messages in the POST Service Operation. 8. Attach the Application package and class in the POST Service Operation. 9. A Service Operation of type GET** is also created for Load Testing purpose. This is not consumed by any application, only used internally for testing. To set up GET Service Operation, follow steps 5-8 from above. **Why not use GET Service Operation in applications? Because: GET requests are not ideal as they can be cached, can remain in the browser history, they can be bookmarked, distributed & shared and are not safe for dealing with sensitive data.
  • 9. 8 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Step 1. Request and Response Documents Request Document Response Document Request JSON** Response JSON** **JSON stands for JavaScript Object Notation which is a language-independent data format derived from JavaScript.
  • 10. 9 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Step 2. Request and Response Messages A Message is simply a container for a Document. Request Message Response Message
  • 11. 10 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Step 3. Service REST services:  There are two types of PeopleSoft services we should know about – REST and SOAP.  For Chatbot and hYve Mobile app, we use REST services. It stands for REpresentational State Transfer.  SOAP works with data format XML whereas REST permits many data formats including JSON format required for our applications.  Also unlike SOAP, REST provides standard GET/POST operations, it is synchronous and designed for point to point communication.  They are also simple, lightweight, and fast compared to SOAP.  REST is more popular today with web/app developers due to it's simplicity over SOAP and other methods. Service
  • 12. 11 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Step 4 & 5. Service Operation & Permission list Step 4: Service Operation Step 5: Attach permission list providing Full Access
  • 13. 12 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Step 5. Application Package & class: Business Logic/Code – Page 1  Application package: Z_BOT_EMP_INV_INFO_PKG  Application class: Get_EmployeeInvoiceInformation
  • 14. 13 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Step 5. Application Package & class: Business Logic/Code – Page 2  Application package: Z_BOT_EMP_INV_INFO_PKG  Application class: Get_EmployeeInvoiceInformation
  • 15. 14 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Step 7 & 8. Messages & Application Package/class Step 7: Attach Request & Response messages to Service Operation Step 8: Attach Application package & class for business logic
  • 16. 15 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Testing Web Services Web services undergo following tests: 1. Unit Testing : (by developer) 2. Load Testing : (by developer/technical team) 3. Application Testing : (by target team i.e. Mobile Application team/Chatbot application team) 4. (UAT) User Acceptance Testing : (by users)
  • 17. 16 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Steps to test service in Postman:  In the Postman tool, start a new tab, select service type as POST in the left-hand corner and enter service URL on the right.  Below the URL bar, select “Body” keyword, then select “raw” keyword and change type to “JSON (application/json)”.  Enter Request JSON with the input data in the body section.  Hit the Send button at the right-hand corner (in blue).  Output (in JSON format) will show up at the bottom. Testing Web Services – Unit Testing – Page 1 Web services can be tested using Google Chrome’s Postman Extension/Add-in.
  • 18. 17 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Testing Web Services – Unit Testing – Page 2 Services are tested for different scenarios with multiple sets of data.
  • 19. 18 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Testing Web Services – Load Testing – Page 1  For load testing, we team up with the WNS SDG team and provide Service URLs and input data for all services.  The Service URLs are generated through GET Service Operation (not POST) as it has all the input parameters in the URL itself and does not require Request JSON.  GET Service URL: https://mypsftuat.wns.com/PSIGW/RESTListeningConnector/PSFT_HR/Z_BOT_EMPINV_ALLW_SRV_OPR.v1/OPRID/u100644/1234 567~TK001/uniqueidtest1 Files for all Sample counts Input File sample Summary report for Employee Access service
  • 20. 19 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Browser Postman Testing Web Services – Load Testing – Page 2 GET Services can be tested using Postman tool or by directly entering in browser URL section.
  • 21. 20 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved Any questions?
  • 22. 21 © Copyright 2019 WNS (Holdings) Ltd. All rights reserved WNS.COM This presentation and any files attached and/or transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. No part of this presentation may be given, lent, resold, or disclosed to any unintended recipients or exploited for any commercial purposes. If you are not the intended recipient and you have received this presentation in error, please return this material to the sender immediately and forthwith delete and destroy the presentation including any copies thereof from your records. We hereby notify that disclosing, distributing, copying, reproducing, storing in a retrieval system, or transmitting in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, or taking any action in reliance on the contents of the presentation in its entirety or any part thereof is strictly prohibited without the prior written consent of WNS, such consent being given at the sole discretion of WNS. Any views or opinion expressed in this presentation are those of the author and do not necessarily represent that of WNS. WNS makes no representations and to the full extent permissible by applicable law, WNS disclaims any warranties of any kind, express or implied, including any warranty of merchantability, accuracy, fitness or applicability for a particular purpose, and non-infringement of third party rights, as to the information, content and materials.

Editor's Notes

  1. 0