SlideShare a Scribd company logo
1 of 27
Download to read offline
CROSS PLATFORM INTEGRATION
By:-
Raj, Amit, Amol
Narendra & Gunjan
AGENDA
➢ Web Services
➢ REST
➢ Inbound call using Connected app
➢ SOAP
➢ SSO (Single Sign On)
Web Services
Web service is a standardized medium to propagate communication between the
client and server applications on the World Wide Web.
Types of Web Service
What is REST ?
➢ A RESTful API --REpresentational State Transfer (REST)
➢ Provides access to resources, not logic
➢ Resource can be a single document or complex object
➢ Client-Server development
➢ Server does not maintain state for client, no cookies
Why use REST ?
➢ Predictable- regardless of domain
➢ Discoverable- standard verbs and routing structure
➢ Simple- know the domain, know the system
➢ Incorporates multiple W3 Standards
Standard REST
➢ Data Transfer Objects to represent resources
➢ HTTP Verbs to perform actions on resources
➢ Negotiate content type via headers i.e. Accept : application/json
➢ Respond with HTTP Status code
HTTP Verbs/Methods
➢ GET - provides read only access to one or more resources
➢ POST - to create new resources
➢ PUT - to update resources
➢ PATCH - to partially update resources
➢ DELETE - to delete resources
Status Code(Link)
1xx: Informational Communicates transfer protocol-level information.
2xx: Success Indicates that the client’s request was accepted successfully.
3xx: Redirection Indicates that the client must take some additional action in order to complete their
request.
4xx: Client Error This category of error status codes points the finger at clients.
5xx: Server Error The server takes responsibility for these error status codes.
REST API Demo
Inbound call using Connected app
➢ We need to install a connected app in org to enable authentication.
Then we can use profiles, permission sets, and IP range restrictions to
control which users can access the app.
➢ A connected app integrates an application with Salesforce using
APIs. Connected apps use standard SAML and OAuth protocols to
authenticate, provide single sign-on, and provide tokens for use with
Salesforce APIs.
➢ In addition to standard OAuth capabilities, connected apps allow
Salesforce admins to set various security policies and have explicit
control over who can use the corresponding apps.
Steps for Creation of Connected App
1. Go to Salesforce instance
2. Search for App in Setup>>App Manager (New Connected App)
3. Create New App Add the required fields
4. [App name, API name, Email, Select Enable Auth Setting => Call Back URL,
Selected Auth Scope => Full Access(Api)/Desired]
5. After app is ready store Consumer Key & Consumer Secret for further
usage.
6. Get the Security Token or Reset it.
Working Demo:
1. Creation of Connected App
https://www.screencast.com/t/9AFGnnT6qX
2. Security Token Reset
https://www.screencast.com/t/htkXny7iTxm
3. Getting the Security token after Reset
https://www.screencast.com/t/PozWin9f
4. Checking the Connected app using Postman
https://www.screencast.com/t/KEd6t12K
5. Export of SF Accounts into Accounts
https://www.screencast.com/t/pq11Grfn
6. Upsert operation into SF Accounts from CSV
https://www.screencast.com/t/rY7OrV8FQ
Working Demo: Cont.
What is SOAP?
➢ A SOAP API --Simple Object Access Protocol
➢ The XML way of defining what information is sent and how
➢ Uses WSDL(Web Services Description Language)
➢ Designed to support conversational state management
Why use SOAP?
➢ Security (built in WS_Reliable Messaging)
➢ Good for applications that require formal contracts between the API
and consumer
➢ Offers built-in retry logic to compensate for failed communications
SOAP vs REST(Link)
➢ REST is an Architectural Style while SOAP is a Protocol
➢ REST APIs uses multiple standards like HTTP, JSON, URL and XML
while SOAP APIs largely based on HTTP and XML
➢ SOAP is more secure than REST
➢ SOAP has built-in error handling for communication errors (using
WS-ReliableMessaging Specification) while in REST we have to handle
error using Status code
SOAP API Demo
When to use REST? and When to use SOAP?
When to use REST ?
➢ Limited resource and bandwidth
➢ Statelessness
➢ Caching
➢ Ease of coding
When to use SOAP?
➢ Asynchronous processing and subsequent invocation
➢ A Formal means of Communication
➢ Stateful operations
What is SSO?
➢ Single sign-on (SSO) is a Session.
➢ User Authentication Service
➢ Permits an end user to enter one set of login
credentials to access many systems.
Why we use SSO?
➢ Connect multiple applications through a single login.
➢ Allows you to login once and access many systems.
➢ It makes life simple.
Implementation Related Terms
Focusing on SAML-based Single Sign-On
➢ Security Assertion Markup Language (SAML): allows security
credentials to be shared by multiple computers across a network
➢ Identity Provider (IdP): The authentication server(Salesforce).
➢ Service Provider (SP): An accessible business application(Appian).
How SSO Works?
SSO Demo
Integration step up session

More Related Content

What's hot

Guide on scaling web app
Guide on scaling web appGuide on scaling web app
Guide on scaling web appAshok Pundit
 
A 4 line login - line platform
A 4 line login - line platformA 4 line login - line platform
A 4 line login - line platformLINE Corporation
 
Testing REST Web Services
Testing REST Web ServicesTesting REST Web Services
Testing REST Web ServicesJan Algermissen
 
HTTP Services & REST API Security
HTTP Services & REST API SecurityHTTP Services & REST API Security
HTTP Services & REST API SecurityTaiseer Joudeh
 
API Security from the DevOps and CSO Perspectives (Webcast)
API Security from the DevOps and CSO Perspectives (Webcast)API Security from the DevOps and CSO Perspectives (Webcast)
API Security from the DevOps and CSO Perspectives (Webcast)Apigee | Google Cloud
 
Using & Abusing APIs: An Examination of the API Attack Surface
Using & Abusing APIs: An Examination of the API Attack SurfaceUsing & Abusing APIs: An Examination of the API Attack Surface
Using & Abusing APIs: An Examination of the API Attack SurfaceCA API Management
 
T3CON11 Building a service oriented application with FLOW3
T3CON11 Building a service oriented application with FLOW3T3CON11 Building a service oriented application with FLOW3
T3CON11 Building a service oriented application with FLOW3Christopher Hlubek
 
OWASP API Security Top 10 - API World
OWASP API Security Top 10 - API WorldOWASP API Security Top 10 - API World
OWASP API Security Top 10 - API World42Crunch
 
Mastering Modern Authentication and Authorization Techniques for SharePoint, ...
Mastering Modern Authentication and Authorization Techniques for SharePoint, ...Mastering Modern Authentication and Authorization Techniques for SharePoint, ...
Mastering Modern Authentication and Authorization Techniques for SharePoint, ...Eric Shupps
 
APISecurity_OWASP_MitigationGuide
APISecurity_OWASP_MitigationGuide APISecurity_OWASP_MitigationGuide
APISecurity_OWASP_MitigationGuide Isabelle Mauny
 
CIS14: Early Peek at PingFederate Administrative REST API
CIS14: Early Peek at PingFederate Administrative REST APICIS14: Early Peek at PingFederate Administrative REST API
CIS14: Early Peek at PingFederate Administrative REST APICloudIDSummit
 
24 Hours Of Exchange Server 2007 ( Part 15 Of 24)
24  Hours Of  Exchange  Server 2007 ( Part 15 Of 24)24  Hours Of  Exchange  Server 2007 ( Part 15 Of 24)
24 Hours Of Exchange Server 2007 ( Part 15 Of 24)Harold Wong
 
Web services security
Web services securityWeb services security
Web services securitynurmeen1
 
Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...
Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...
Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...CA API Management
 
Guidelines to protect your APIs from threats
Guidelines to protect your APIs from threatsGuidelines to protect your APIs from threats
Guidelines to protect your APIs from threatsIsabelle Mauny
 
AWS Cognito User Pool - Practical Guide
AWS Cognito User Pool - Practical GuideAWS Cognito User Pool - Practical Guide
AWS Cognito User Pool - Practical GuideRobert Senktas
 
OAuth2 Introduction
OAuth2 IntroductionOAuth2 Introduction
OAuth2 IntroductionArpit Suthar
 

What's hot (20)

Guide on scaling web app
Guide on scaling web appGuide on scaling web app
Guide on scaling web app
 
A 4 line login - line platform
A 4 line login - line platformA 4 line login - line platform
A 4 line login - line platform
 
Testing REST Web Services
Testing REST Web ServicesTesting REST Web Services
Testing REST Web Services
 
HTTP Services & REST API Security
HTTP Services & REST API SecurityHTTP Services & REST API Security
HTTP Services & REST API Security
 
Proxy server
Proxy serverProxy server
Proxy server
 
API Security from the DevOps and CSO Perspectives (Webcast)
API Security from the DevOps and CSO Perspectives (Webcast)API Security from the DevOps and CSO Perspectives (Webcast)
API Security from the DevOps and CSO Perspectives (Webcast)
 
Using & Abusing APIs: An Examination of the API Attack Surface
Using & Abusing APIs: An Examination of the API Attack SurfaceUsing & Abusing APIs: An Examination of the API Attack Surface
Using & Abusing APIs: An Examination of the API Attack Surface
 
T3CON11 Building a service oriented application with FLOW3
T3CON11 Building a service oriented application with FLOW3T3CON11 Building a service oriented application with FLOW3
T3CON11 Building a service oriented application with FLOW3
 
OWASP API Security Top 10 - API World
OWASP API Security Top 10 - API WorldOWASP API Security Top 10 - API World
OWASP API Security Top 10 - API World
 
Iam f42 a
Iam f42 aIam f42 a
Iam f42 a
 
Mastering Modern Authentication and Authorization Techniques for SharePoint, ...
Mastering Modern Authentication and Authorization Techniques for SharePoint, ...Mastering Modern Authentication and Authorization Techniques for SharePoint, ...
Mastering Modern Authentication and Authorization Techniques for SharePoint, ...
 
APISecurity_OWASP_MitigationGuide
APISecurity_OWASP_MitigationGuide APISecurity_OWASP_MitigationGuide
APISecurity_OWASP_MitigationGuide
 
CIS14: Early Peek at PingFederate Administrative REST API
CIS14: Early Peek at PingFederate Administrative REST APICIS14: Early Peek at PingFederate Administrative REST API
CIS14: Early Peek at PingFederate Administrative REST API
 
24 Hours Of Exchange Server 2007 ( Part 15 Of 24)
24  Hours Of  Exchange  Server 2007 ( Part 15 Of 24)24  Hours Of  Exchange  Server 2007 ( Part 15 Of 24)
24 Hours Of Exchange Server 2007 ( Part 15 Of 24)
 
Web services security
Web services securityWeb services security
Web services security
 
Proxy Presentation
Proxy PresentationProxy Presentation
Proxy Presentation
 
Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...
Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...
Enterprise Access Control Patterns for REST and Web APIs Gluecon 2011, Franco...
 
Guidelines to protect your APIs from threats
Guidelines to protect your APIs from threatsGuidelines to protect your APIs from threats
Guidelines to protect your APIs from threats
 
AWS Cognito User Pool - Practical Guide
AWS Cognito User Pool - Practical GuideAWS Cognito User Pool - Practical Guide
AWS Cognito User Pool - Practical Guide
 
OAuth2 Introduction
OAuth2 IntroductionOAuth2 Introduction
OAuth2 Introduction
 

Similar to Integration step up session

Best practices and advantages of REST APIs
Best practices and advantages of REST APIsBest practices and advantages of REST APIs
Best practices and advantages of REST APIsAparna Sharma
 
zendframework2 restful
zendframework2 restfulzendframework2 restful
zendframework2 restfultom_li
 
Webinar: Embracing REST APIs through APPSeCONNECT
Webinar: Embracing REST APIs through APPSeCONNECTWebinar: Embracing REST APIs through APPSeCONNECT
Webinar: Embracing REST APIs through APPSeCONNECTAPPSeCONNECT
 
web programming
web programmingweb programming
web programmingshreeuva
 
Day1 : web service basics
Day1 :  web service basics Day1 :  web service basics
Day1 : web service basics Testing World
 
APIs and Services: One Platform or Two?
APIs and Services: One Platform or Two?APIs and Services: One Platform or Two?
APIs and Services: One Platform or Two?Akana
 
REST API Design & Development
REST API Design & DevelopmentREST API Design & Development
REST API Design & DevelopmentAshok Pundit
 
JAX-RS. Developing RESTful APIs with Java
JAX-RS. Developing RESTful APIs with JavaJAX-RS. Developing RESTful APIs with Java
JAX-RS. Developing RESTful APIs with JavaJerry Kurian
 
Web service Introduction
Web service IntroductionWeb service Introduction
Web service IntroductionMadhukar Kumar
 
Techniques for securing rest
Techniques for securing restTechniques for securing rest
Techniques for securing restSudhakar Anivella
 
Role of Rest vs. Web Services and EI
Role of Rest vs. Web Services and EIRole of Rest vs. Web Services and EI
Role of Rest vs. Web Services and EIWSO2
 
What are restful web services?
What are restful web services?What are restful web services?
What are restful web services?Aparna Sharma
 
Best Practices for API Security
Best Practices for API SecurityBest Practices for API Security
Best Practices for API SecurityBui Kiet
 

Similar to Integration step up session (20)

Best practices and advantages of REST APIs
Best practices and advantages of REST APIsBest practices and advantages of REST APIs
Best practices and advantages of REST APIs
 
zendframework2 restful
zendframework2 restfulzendframework2 restful
zendframework2 restful
 
Webinar: Embracing REST APIs through APPSeCONNECT
Webinar: Embracing REST APIs through APPSeCONNECTWebinar: Embracing REST APIs through APPSeCONNECT
Webinar: Embracing REST APIs through APPSeCONNECT
 
Api 101
Api 101Api 101
Api 101
 
web programming
web programmingweb programming
web programming
 
APITalkMeetupSharable
APITalkMeetupSharableAPITalkMeetupSharable
APITalkMeetupSharable
 
Salesforce Integration
Salesforce IntegrationSalesforce Integration
Salesforce Integration
 
Day1 : web service basics
Day1 :  web service basics Day1 :  web service basics
Day1 : web service basics
 
APIs and Services: One Platform or Two?
APIs and Services: One Platform or Two?APIs and Services: One Platform or Two?
APIs and Services: One Platform or Two?
 
REST API Design & Development
REST API Design & DevelopmentREST API Design & Development
REST API Design & Development
 
Restful api
Restful apiRestful api
Restful api
 
JAX-RS. Developing RESTful APIs with Java
JAX-RS. Developing RESTful APIs with JavaJAX-RS. Developing RESTful APIs with Java
JAX-RS. Developing RESTful APIs with Java
 
Web service Introduction
Web service IntroductionWeb service Introduction
Web service Introduction
 
Web Service
Web ServiceWeb Service
Web Service
 
Techniques for securing rest
Techniques for securing restTechniques for securing rest
Techniques for securing rest
 
Apitesting.pptx
Apitesting.pptxApitesting.pptx
Apitesting.pptx
 
Role of Rest vs. Web Services and EI
Role of Rest vs. Web Services and EIRole of Rest vs. Web Services and EI
Role of Rest vs. Web Services and EI
 
What are restful web services?
What are restful web services?What are restful web services?
What are restful web services?
 
Best Practices for API Security
Best Practices for API SecurityBest Practices for API Security
Best Practices for API Security
 
Secure Coding: SSL, SOAP, and REST
Secure Coding: SSL, SOAP, and RESTSecure Coding: SSL, SOAP, and REST
Secure Coding: SSL, SOAP, and REST
 

Recently uploaded

What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxnada99848
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 

Recently uploaded (20)

What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptx
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 

Integration step up session

  • 1. CROSS PLATFORM INTEGRATION By:- Raj, Amit, Amol Narendra & Gunjan
  • 2. AGENDA ➢ Web Services ➢ REST ➢ Inbound call using Connected app ➢ SOAP ➢ SSO (Single Sign On)
  • 3. Web Services Web service is a standardized medium to propagate communication between the client and server applications on the World Wide Web.
  • 4. Types of Web Service
  • 5. What is REST ? ➢ A RESTful API --REpresentational State Transfer (REST) ➢ Provides access to resources, not logic ➢ Resource can be a single document or complex object ➢ Client-Server development ➢ Server does not maintain state for client, no cookies
  • 6. Why use REST ? ➢ Predictable- regardless of domain ➢ Discoverable- standard verbs and routing structure ➢ Simple- know the domain, know the system ➢ Incorporates multiple W3 Standards
  • 7. Standard REST ➢ Data Transfer Objects to represent resources ➢ HTTP Verbs to perform actions on resources ➢ Negotiate content type via headers i.e. Accept : application/json ➢ Respond with HTTP Status code
  • 8. HTTP Verbs/Methods ➢ GET - provides read only access to one or more resources ➢ POST - to create new resources ➢ PUT - to update resources ➢ PATCH - to partially update resources ➢ DELETE - to delete resources
  • 9. Status Code(Link) 1xx: Informational Communicates transfer protocol-level information. 2xx: Success Indicates that the client’s request was accepted successfully. 3xx: Redirection Indicates that the client must take some additional action in order to complete their request. 4xx: Client Error This category of error status codes points the finger at clients. 5xx: Server Error The server takes responsibility for these error status codes.
  • 11. Inbound call using Connected app ➢ We need to install a connected app in org to enable authentication. Then we can use profiles, permission sets, and IP range restrictions to control which users can access the app. ➢ A connected app integrates an application with Salesforce using APIs. Connected apps use standard SAML and OAuth protocols to authenticate, provide single sign-on, and provide tokens for use with Salesforce APIs. ➢ In addition to standard OAuth capabilities, connected apps allow Salesforce admins to set various security policies and have explicit control over who can use the corresponding apps.
  • 12. Steps for Creation of Connected App 1. Go to Salesforce instance 2. Search for App in Setup>>App Manager (New Connected App) 3. Create New App Add the required fields 4. [App name, API name, Email, Select Enable Auth Setting => Call Back URL, Selected Auth Scope => Full Access(Api)/Desired] 5. After app is ready store Consumer Key & Consumer Secret for further usage. 6. Get the Security Token or Reset it.
  • 13. Working Demo: 1. Creation of Connected App https://www.screencast.com/t/9AFGnnT6qX 2. Security Token Reset https://www.screencast.com/t/htkXny7iTxm 3. Getting the Security token after Reset https://www.screencast.com/t/PozWin9f 4. Checking the Connected app using Postman https://www.screencast.com/t/KEd6t12K
  • 14. 5. Export of SF Accounts into Accounts https://www.screencast.com/t/pq11Grfn 6. Upsert operation into SF Accounts from CSV https://www.screencast.com/t/rY7OrV8FQ Working Demo: Cont.
  • 15. What is SOAP? ➢ A SOAP API --Simple Object Access Protocol ➢ The XML way of defining what information is sent and how ➢ Uses WSDL(Web Services Description Language) ➢ Designed to support conversational state management
  • 16. Why use SOAP? ➢ Security (built in WS_Reliable Messaging) ➢ Good for applications that require formal contracts between the API and consumer ➢ Offers built-in retry logic to compensate for failed communications
  • 17. SOAP vs REST(Link) ➢ REST is an Architectural Style while SOAP is a Protocol ➢ REST APIs uses multiple standards like HTTP, JSON, URL and XML while SOAP APIs largely based on HTTP and XML ➢ SOAP is more secure than REST ➢ SOAP has built-in error handling for communication errors (using WS-ReliableMessaging Specification) while in REST we have to handle error using Status code
  • 19. When to use REST? and When to use SOAP?
  • 20. When to use REST ? ➢ Limited resource and bandwidth ➢ Statelessness ➢ Caching ➢ Ease of coding
  • 21. When to use SOAP? ➢ Asynchronous processing and subsequent invocation ➢ A Formal means of Communication ➢ Stateful operations
  • 22. What is SSO? ➢ Single sign-on (SSO) is a Session. ➢ User Authentication Service ➢ Permits an end user to enter one set of login credentials to access many systems.
  • 23. Why we use SSO? ➢ Connect multiple applications through a single login. ➢ Allows you to login once and access many systems. ➢ It makes life simple.
  • 24. Implementation Related Terms Focusing on SAML-based Single Sign-On ➢ Security Assertion Markup Language (SAML): allows security credentials to be shared by multiple computers across a network ➢ Identity Provider (IdP): The authentication server(Salesforce). ➢ Service Provider (SP): An accessible business application(Appian).