Peoplesoft: Building and Consuming Web Services

Slides:



Advertisements
Similar presentations
Pierre-Johan CHARTRE Java EE - JAX-RS - Pierre-Johan CHARTRE
Advertisements

Web Services & EAI.
Integrated Platform version 5.2
Introduction to Web Services Protocols. Talk titledate2 Communication and standards Efficient (or indeed any) communication is dependent on a shared vocabulary.
Siebel Web Services Siebel Web Services March, From
Web Services Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
1 Integration Made Easy Agile Integration: Connecting Salesforce With Your Enterprise.
General introduction to Web services and an implementation example
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
Integration Framework Pennsylvania Treasury
Scale Up Access to your 4GL Application using Web Services
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
SOA with Progress Philipp Walther Consultant. © 2007 Progress Software Corporation2 Agenda  SOA  Enterprise Service Bus (ESB)  The Progress SOA Portfolio.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
Business Process Orchestration
2006 IEEE International Conference on Web Services ICWS 2006 Overview.
SiS Technical Training Development Track Day 10. Agenda  Introduction to Integration Broker  How to Expose and Consume WebServices.
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
Secure Systems Research Group - FAU Web Services Standards Presented by Keiko Hashizume.
Service-Oriented Programming
Web Service Standards, Security & Management Chris Peiris
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
1 Web Services Distributed Systems. 2 Service Oriented Architecture Service-Oriented Architecture (SOA) expresses a software architectural concept that.
C Copyright © 2009, Oracle. All rights reserved. Appendix C: Service-Oriented Architectures.
Prepared By : Monika Darji Web Services using REST & JAX-WS.
Integration Broker PeopleTools Integration Broker Steps –Introduction & terminologies –Application Server PUB/SUB services (Application Server)
Outline  Enterprise System Integration: Key for Business Success  Key Challenges to Enterprise System Integration  Service-Oriented Architecture (SOA)
Peoplesoft XML Publisher Integration with PeopleTools -Jayalakshmi S.
Web Services Description Language (WSDL) Jason Glenn CDA 5937 Process Coordination in Service and Computational Grids September 30, 2002.
International Telecommunication Union Geneva, 9(pm)-10 February 2009 ITU-T Security Standardization on Mobile Web Services Lee, Jae Seung Special Fellow,
Dr. Bhavani Thuraisingham October 2006 Trustworthy Semantic Webs Lecture #16: Web Services and Security.
Web Services Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Web Services based e-Commerce System Sandy Liu Jodrey School of Computer Science Acadia University July, 2002.
Nadir Saghar, Tony Pan, Ashish Sharma REST for Data Services.
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
FIMS v1.1 Version numbers in schema Richard Cartwright Quantel July 2013.
Standards for Technology in Automotive Retail STAR Update Michelle Vidanes STAR XML Data Architect April 30 th, 2008.
INT-9: Implementing ESB Processes with OpenEdge ® and Sonic ™ David Cleary Principal Software Engineer.
Kemal Baykal Rasim Ismayilov
Web Services An Introduction Copyright © Curt Hill.
AJAX and REST. Slide 2 What is AJAX? It’s an acronym for Asynchronous JavaScript and XML Although requests need not be asynchronous It’s not really a.
INFSO-RI Enabling Grids for E-sciencE Web Services Mike Mineter National e-Science Centre, Edinburgh.
Lecture VI: SOAP-based Web Service CS 4593 Cloud-Oriented Big Data and Software Engineering.
OASIS ebXML Registry Standard Open Forum 2003 on Metadata Registries 10:30 – 11:15 January 20, 2003 Kathryn Breininger The Boeing Company Chair, OASIS.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
DEVELOPING WEB SERVICES WITH JAVA DESIGN WEB SERVICE ENDPOINT.
Software Architecture Patterns (3) Service Oriented & Web Oriented Architecture source: microsoft.
XML 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall SAMPLE XML SCHEMA (XSD) 2 Schema is a record definition, analogous to the.

Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 9 Web Services: JAX-RPC,
Sabri Kızanlık Ural Emekçi
Understanding SOAP and REST calls The types of web service requests
WEB SERVICES.
Node.js Express Web Services
Unit – 5 JAVA Web Services
DSRA -Relative Web technology clarification in Technology Architecture
Introduction to Web Services and SOA
WEB API.
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
$, $$, $$$ API testing Edition
Distributed System using Web Services
Introduction to Web Services and SOA
Distributed System using Web Services
Techniques to Invoke Web Services from SAS
TN19-TCI: Integration and API management using TIBCO Cloud™ Integration
Chengyu Sun California State University, Los Angeles
Presentation transcript:

Peoplesoft: Building and Consuming Web Services

Program Agenda Why/When Web Service? Web Service Enabling PeopleTools Objects TIBCO SOA and Peoplesoft Integration broker Architecture Over view Provide Web Service Using Component Interfaces (CI) Provide Web Service Using Application Packages Provide Query Access Web Service Provide Restful Web Service Consuming a 3rd Party Web Service Web services Security

Web Services with PeopleTools : When are they the right option Web Services are only one of many integration options When are Web Services good options? – Multiple consumers of a single interface – If consumer is external and needs to be Authenticated – Consuming partner integrations – Integrating with Standards Based Tools • SOA technology • Development Tools • Business Intelligence

Tibco SOA Architecture

Integration Broker

Integration Broker

Web Service Enabling PeopleTools PeopleTools Objects deployed as Web Services

Web Service Enabling PeopleTools PeopleTools Objects deployed as Web Services

Web Service Enabling PeopleTools Web Service Routing is always Any-To-Local

Integration Broker Web Services SOAP or Rest? Component Interface or AppClass? Rowset or non-rowset message? Parts and containers or Document?

Provide Web Service : Using a Component Interface

Provide Web Service : Using a Component Interface Synchronous Service Operation for each Component Interface methods Automatically creates Nonrowset-based Messages with Schemas based on the CI definition Builds handler definition that points the CI Any to Local routing is defined Naming convention for Web Service is CI_<name> Supports user defined methods

Provide Web Service : Using a Component Interface 2 Step Process – Step 1: CI-Based Services Wizard • Generates Messages and Schemas, Services, Service Operations, SO Handlers, and SO Routings via CI-Based Services Page – Step 2: Provide Web Service Wizard • Publish as Web Service by selecting the above generated Service definition

Provide Web Service : Using a Component Interface

Provide Web Service : Using a Component Interface

Provide Web Service : Using a Component Interface

Provide Web Service : Using a Component Interface

Provide Web Service : Using a Component Interface

Provide Web Service : Using a Component Interface

Provide Web Service : Using a Component Interface

Provide Web Service : Using a Component Interface

Provide Web Service : Using a Component Interface

Provide Web Service : Using a Component Interface Limitations • This is the easiest way to provide a Web Service but it comes at a cost • The interaction between the Web Service and Component Interface is Generated and Can Not be Modified – State Management can be a problem – There is no support for level deletes • Consider using an AppClass that manipulates the Component Interface as an alternative

Provide Web Service : Query Access Service Peoplesoft has delivered Service and Service operation to execute a query from an external source Multiple delivered service operations to execute queries and retrieve results Queries can be executed realtime or through batch Results can be obtained realtime (XMLP, HTML etc.) or through file (Excel etc.)

Provide Web Service : Query Access Service Client applications consume the WSDL by accessing the WSDL URL from the repository

Provide Web Service : Query Access Service Request Message Example

Provide Web Service : Query Access Service Response Message (XMLP)

Provide Web Service : Using Application Packages

Provide Web Service : Using Application Packages Web Services can be provided using any of the PeopleTools message types – Rowset-based • PeopleSoft to PeopleSoft with proprietary XML • Legacy - PSCAMA tags – Nonrowset-based (schema based) • 3rd Party Integration – Message Parts and Containers • Web Services • Standard XML – PT 8.53 - Document-based Messages

Provide Web Service : Using Application Packages PeopleTools Document Object Goals – Better XML support – Increase Developer Productivity – Light-weight structure definition – Geared for reuse – Insulated to change

Provide Web Service : Using Application Package - Documents Meta data that defines structured data • Binding to XML schema or PeopleSoft record • Package.Document.Version naming standard • Structure composed of elements: primitives, compounds (document), and collections (of primitive or compounds). – Primitives represent scalar types (int, bool, etc). – Compounds represent complex types – Collections represent multiple occurrences of an element • Rich PeopleCode API that does not require parsing

Provide Web Service : Using Application Package – Documents Provide a light-weight structural specification that describes any XML Document • Great reuse with compound documents • Single programming api for the document definition • Support mapping to different physical types • Insulation from change to physical layer • Support for XML, namespaces, attributes, non-rowset structures. • Easy construction or generation of Documents (create from xsd, wsdl, or record) • Managed object in PeopleTools

Provide Web Service : Using Application Package – Documents PeopleTools Document Object – Strengthens PeopleTools Consume Web Service model • Documents are built from XML schemas (XSD) • Creates a first-class Tools Object like a rowset – Replaces the need to use non-rowset based messages • Provides flexibility with the ease of use of rowsets and rowset parts – Can be extended to support other physical types in the future – Framework that will be used for future IB enhancements

Provide Web Service : Using Application Package - Documents

Provide Web Service : Using Application Package – Documents New message of document type can be defined

Provide Web Service : Using Application Package Define Service – Logically group Service Operations

Provide Web Service : Using Application Package Configure Service Operations – Ties Messages, Queues and Service Operation Versions – Defines Routings and Handlers for Operations – Service Operation Versions Create new version when message structure is updated Previous version is inactive unless transformation is implemented for the message structure

Provide Web Service : Using Application Package Define Service Operation Handlers – Contains the main operation logic for inbound messsages – AppClass must exist before the Service Operation – Implemented via Application Class, Component Interface or Bulk Load (DMS)

Provide Web Service : Using Application Package Define Service Operation Routings – Routings can be generated automatically except for Point-To-Point

Provide Web Service : Using Application Package Provide Web Service Wizard

Provide Web Service : REST REST is – Architecture that consists of clients and servers (or requestors and providers) – There exist a number of resources that can be any arbitrary object – Resource has a representation that captures the current state of the resource – A resource may contain links to other resources

Provide Web Service : REST Support for Representative State Transfer (RESTful) Services – Defined as a Service type in Integration Broker – Alternative to WSDL/SOAP based web services – Support for • HTTP Based operations (post, get, put, delete, head) • Supported type – JSON, XML, HTTP, Text – Gives developers more options – one that is being heavily adopted – Easier to build/use expect gains in developer productivity

Provide Web Service : REST • A new Service Type is added – RESTful or Non-RESTful – Defined at the Service, not Service Operation

Provide Web Service : REST Distinguish between provider and consumer • Use Web Access Descriptive Language (WADL) not Web Service Descriptive Language (WSDL) • Rest Method is an HTTP method, not Service Operation

Provide Web Service : REST

Provide Web Service : REST In this example, the URL to call the service is: http://wpibm019:44000/PSIGW/PSIGW/RESTListeningConnector/Employees.v1/employees

Provide Web Service : REST REST Service Content Type – XML for standard messages – JSON (Java Script Object Notation) for UI based messages

Provide Web Service : REST From this: http://wpibm019:44000/PSIGW/RESTListeningConnector/Employee_Details.v1/details/KF0016 To This:

Consuming 3rd Party Web Service Wizard to create the PeopleTools Components WSDL can be read from a UDDI Server, WSDL URL, WSIL URL, Local File or Legacy WSDL Generates Messages and Schemas, Services, Service Operations, and SO Routings based on the WSDL Definition PT 8.53 – Messages generated are Document-based

Consuming 3rd Party Web Service

Web Services: WS – Security WS-Security is used to secure web services – Designed to secure open exposed endpoints Authentication happens at endpont Something is passed acknowledging the authentication – Certificate or Username/PW – Many different policies for different levels and types of security – Not all policies will work with PeopleSoft

Web Services: WS – Security Rules of integration broker determine the user that is used process the request If no ws-security in SOAP header then the user is taken from the Anonymous Node If username token or clear text password ws-security then the user is taken from the ws-security name tag If security assertion markeup language (SAML) based ws-security, then user is derived from the saml user table based on the value in the ws-security name tag