Skip to main content

Simple PeopleSoft No Code SOAP Web Service

What is a Web Service



Simply put a web service is  a method of communication between devices over the World Wide Web (WWW)

Characteristics:

Uses Request/Response messages over HTTP/S 

Hypertext Transfer Protocol

The foundation of data communication over WWW

Used to send and receive webpages and files on the internet.

Messages are text readable such as XML and JSON

XML - Extensible Markup Language (rules for encoding documents that are both human and machine readable)

JSON – JavaScript Object Notation (file format that uses human readable text) 

What is SOAP

Simple Object Access Protocol


Lightweight protocol for exchanging structured information


Use HTTP POST to send XML (Extended Markup Language)\


Provides both Asynchronous and Synchronous 


Asynchronous – Doesn’t wait for a response; it is NOT immediate; callbacks happen only when the requested resource is ready


Synchronous – Expects an immediate return of data; waits for a response


SOAP Example - Web Service from a Component Interface


PeopleTools  -> Integration Broker -> Web Services -> CI-Based Services
Enter CI Name
Click Search
Select check box
Review CI Status



Select Method or Methods you wish to create
Click Display Selected Actions

Click Perform Selected Actions


PeopleTools -> Integration Broker -> Integration Setup -> Services
(Provide Web Service (or how to generate the WSDL. Web Services Description Language which is an XML-based interface description language that is used for describing the functionality offered by a web service)
Enter Service Name
Click Search


PeopleTools -> Integration Broker -> Integration Setup -> Services
Click results link




Click Provide Web Service

Select Service Operation
Click Next

Click Next

Click Finish


Copy the WSDL URL

Using SOAPUI to Test

In SoapUI, choose File -> New SOAP Project. Give it a name, then enter the WSDL you copied.
Click OK
SOUP UI generated this: 

Enter XML data for request


Click the green run button

Response


More information at

Comments

Popular posts from this blog

PeopleSoft REST services

PeopleSoft Rest Service     Here is a step by step example of how to create a REST service in PeopleSoft.  The first example passes one row of data via the URL. The response includes multiple po lines.  The second example passes JSON in the body with no parameters in the URL. The response is one row per row in the request.   1)     Create template document for inbound parameter(s) (the request). 1)     One or more element names. 2)     Create a view record of the outbound data (the response). 3)     Create template document. 1)     Element names, Collections and Compounds. 2)     Map the document elements to fields in your view 4)     Link messages to document 5)     Create your response message which structures ...

Scanning Barcode and QR Code with JavaScript in PeopleSoft

Creating a mobile app with JavaScript is simple and common. Simply find a JavaScript Library and write the code to use it. But how do we do that with PeopleSoft This Blog will give you an example. 1st we need JavaScript Library to Scan both QR and Barcode InstaScan (only did BarCode) https://github.com/schmich/instascan Zxing (did both)  https://github.com/zxing-js/ Great libraries exist, but how do we get that into PeopleSoft? We'll need to add video/camera to Mobile Inventory Pages.  Can this be added? Will the page be able to access the camera? The answer is in PeopleSoft PeopleTools Tips & Techniques by Jim Marion Chapter 6 JavaScript for the PeopleSoft Developer JavaScript Libraries, pages 240-241 IScript/Messages Step 1 Get mimified version of Zxing https://unpkg.com/@zxing/library@0.14.2/umd/index.min.js PeopleTools -> Utilities-> Administration-Message Catalog Add Minified Code to Description Yes, you are correctly seeing that. Store the code in the message c...

Event Mapping Application Package

PeopleSoft has been increasingly adding new ways to modify it's software without intrusive customization. One was is Event Mapping. This allows code to be placed in a application package and change the behavior of pages. These "maps" are tied to components.  Here's a simple example.  1. Create a custom Application Package From Application Designer. Go to File -> New -> Application Package Save it and give it a name Right click on the package and select Insert App Class   Give the class a name Double click to enter PeopleCode Editor Create a class the extends PT_RCF:ServiceInterface An application class for event mapping must import and extend the PT_RCF:ServiceInterface class. In addition, it must define a single method named execute . In this example the class is named make_links_clickable import PT_RCF:*; class make_links_clickable extends PT_RCF:ServiceInterface    method execute(); end-class; Now create the method method execute    /+ Extends...