We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 11
2sitt2019, Making Way into PaopleSot: Consume Third Party Web Service in PeopleSoft
Co) ors Grarum beg Losin
Making Way into PeopleSoft
PeopleSoft Technical Blog
Serra, 26 January 2013 Paes
“+ PaopleSot isan
(Peoplstook 858 4 SCN.)
+ Peoplesoft Istalition
(eopetools 850 & CN 9.1)
+ Caxichanplamantzion
Consume Third Party Web Service in PeopleSoft
In this example we will consume a3 party web service in our peopesot system, The ‘+ Component race ave APL
“+ nogrationaroker Sup
web service we have used ia simple calculator program having four operations - Ade, ‘+ Consume ar Party Web Serves
Subtract, Multiply & Divi ‘rom PooploSot lo 3rd Party
Subtract, multiply & Divide one
We are on PeopleTools 8.51.15, 1 Using GMAIL a8 SMTP Serverin
Before performing the steps please make sure that Integration Broker is configured - Peoples
Integration Broker Setup “Consume REST Web Servic n
Pooplesan
Step 1 - Setup Node 1 Provide REST Web Sern fom
Pooplesat
Wie have ta setup a nade in PeopleSoft System which wil communicate with the extemal + PeopleSoft Istaition Using
Denloyment Packages
Open the etn ode WSDL_NODE.
hog Archive
> orm
— > 205i
ows ¥ 018m
= > Fetnay @)
oan January)
cs Consume This Pony Web
ene ‘Sorvcin PeopleSoh
a ‘“Ceensocs et
faci a Seopa Sgn OF Page
a a Tecnical Conon
a cmgonet neice to Java
sen a i 9
common 8 > aoien
‘Copy the node tobe use for integration.
_deepakpeoplesoftblagspot.com/2013/01/consume-thire-party-web-servce.himl am2sitt2019, Making Way into PeopleSoft Consume Third Party Web Service in PeopleSoft
——
Pagiees Nan yena > PeopeToos > Megan Soter > integrity sey > Nodes
Node Definitions
Copy Node
ode Hamme: ySDL_NODE
cweNotess DRIVERSERC
‘Sup 2 ~ Geta Publ Web Service
‘There are many avaiable on the net. We ll use this as an example.
tp: dneonline.comfealeulatorasmWSDL
Ie is having four operations - Add, Multiply, Subtract and Divige. We wil use these four
‘operations.
Step 2 - Consume the Web Service
Navigate to PeopleTools Integration Broker [2 Web Services {i Consume Web
Service
‘Select WSDL Source
ll
a]
_deepakpeoplesoft blogspot.com/2013/0t/consume-thire-party-web-servce html
amt2sitt2019, Making Way into PeopleSoft Consume Third Party Web Service in PeopleSoft
‘Cheek the WSDL URL rasio button and enter the WSDL,
Spt
Te |
Select WSDL Source
[From Haimeantaanamacantiany —]
wceimancnes
Semmens parr
Coeeeeee one
———<_e
CS OSS OOS
Select the Operations that you want to ure.
orem sarin Wt spore
00008088 oe
‘Select Service Operations
‘Give some friendly message names.
_deepakpeoplesoft blogspot.com/2013/0t/consume-thire-party-web-servce.html2sitt2019, Making Way into PeopleSoft Consume Third Party Web Service in PeopleSoft
08SO0OC®
Renae Operation Messages
cacecmme tein
Se Se
Treen Ee
Seem Be
Enter the new node that we have created inthe frst step,
‘Sonaume web Serie visas supe
POOOOO® Fe
‘Select the Recelver Node
a
Step 4 - Enter Connection Information
_deepakpeoplesoft blogspot.com/2013/0t/consume-thire-party-web-servce html
ant2sitt2019, Making Way into PeopleSoft Consume Third Party Web Service in PeopleSoft
[Agin, open the noge DR_WEB_ SERVICE and enter the connector id and Primary URL.
‘The Primary URL wil be = http://www. cheonline.comeaiculatorasm
Now, ping the nade to confirm that the setup is corract.
Step 5 - Provide Security
Now, search for the service operations that we have created above,
‘service operatons- earch
‘Give a permission st which Is assigned to your user profile,
_deepakpeoplesoftblagspot.com2013/0t/consume-thire-party-web-servce.himl
sit2sitt2019,
Making Way into PeopleSoft: Consume Third Party Web Service in PeopleSoft
operato: ADD.
Permission er
Permission ist ‘Access
jjoRoaLe-Pe Q [Fulda El
Similarly, provide the security for ether service operations
Step 5 - PeopleCode to Use Web Service
Review the request and response message and accordingly we wil create in peoplecode,
Reguest
Dank version-"t.0 encocing-ut 87>
«soap-Envelopesninsxsi~htp:/ ww w3.org/2001/2MLSchema- instance”
smlng@="ntp:! nnn 3.or8/2001/XMLSehema™
mlnssoape"htp:f/schemas.xmlsoap.or/soap/envelape!">
ssoan:Body>
‘Add anlnshttp/Mtempur.or">
sintisintenta>
int 8>int/ntB>
1a
aml version="t.0 encoding uth 87>
«soap:Envelope xminsxsi~htp:/ www. w3.0rB/2001/XMLSchemacinstance™
lnxs€="ntp: woo. org/2001 XMLSchema”
enlnssoap="htps/ schemas. xnlseap.or/soap/envelapes">
ssoap:Body>
-AddResponse xmins="htp:/empurl.org!">
‘AddResultsinte/Adsesult>
-
“Iseap:Envelope>
Create a simple page-
Gee
Fst umber |
second Humber
poration a
acute
Result
_deepakpeoplesoft blagspot.com/2013/0t/consume-thire-party-web-servce.himl
ent2sitt2019,
Making Way into PaopleSot: Consume Third Party Web Service in PeopleSoft
Go
First tmbor
‘scons Humber
operation
‘on the Feldchange event of Calculate button write the following peoplecode. In this,
‘@aample we are using ADD service operation.
‘ecai array of muiioas exeautcy
{SSOREDOC = Creat2soAzD0c()?
eSoRPD00 AaENVELOSE(O)¢
eSunEDoe.Aaaeay()
eSonrDoe-sasterhoa("2aa"y LI
‘SoReDoa,ecrodtiogs 2aaAtcztnute "umina”, “hotpt//vemeaes.org/")
{eSoRPD0-Aaaeam|"1s0A", Ser109(0R CALC NOK. OR FIRST_SOMBER))
{eSoReD00-Aaaeamm| “A508, $orin9 OR_CALE NE DR_SECOUD SBR):
‘erequest ~ CreateMe2eage (Operation.ADD);
‘Gasqucas.SecetDoo (cS0AP#alzee)
‘Winizeauge (crequent.cennasezing\), 0)?
‘Gasaponge = STnuSscier.synobeauest (erequest)
‘Gassponselictoc = czeaponse Geuminect)
‘wumieseaye (cxeaponsentnoc Gest strias(), 0)
response
‘cossult = csesponseitaee, erelenencasyTagtene ("Adshesuic"):
TRLCALE WOK. D CALC RESULT = Value czesule (1].Soaevanue
sem Wimessage(ceesuie (1].todevatue, 0)
catch Exception ce
Teiehesoage (ce. TOSczing(), 0}7
euteei?
_deepakpeoplesoftblagspot.com2013/0t/consume-thire-party-web-servce.himl
7m2sitt2019, Making Way into PaopleSot: Consume Third Party Web Service in PeopleSoft
Ges
First Number! £)
‘second Number! =]
operation 28
Gate |
Result
‘lick onthe Calculate button.
Request
stubs
second Humber 6
peraton 5
| cau |
Recut 11
Posted by Dpak Ray a8
Labs: Panty, mogrton Ur en Saves
19 comments:
{7 November 2014 st 20:27
a
Simple and Swot
py
e nda atg 14 July 2015 a 1858
12 9008 crate
ep
_deepakpeoplesoft blagspot.com/2013/01/consume-thire-party-web-servce.html
ant2sitt2019, Making Way into PeopleSoft: Consume Third Party Web Service in PeopleSoft
‘Anonymous 5 arch 20783 18:38
‘onder Thanks for shang,
har reddy 8 Mares 2016 ot 1°55.
(rea, could you please share any examples using REST?
ep
Kekishore 28 Api 20%6 a 0.08
iis ely exon Great
Reply
Very nce extenaton
“Thanks bunch
‘ractuedtingrtips 3 May 2017 30540
“This i very apf Thankyou so much fr shanna
ep
1 Moc Rule 21 Jay 2017 2127
Be O # O O
Hi Lhave 2 question inthe Slop 4 Enter Connection Ifemiation is homing mistake
LOCAL HTTPTARGET hip Jiwan.dneoninecanveaetator ar Pasael negra
ror Contacto Sistema Extn (15810724)
‘i you Keow the why 7 WHE have someting fo do wit the URL Conactor:
ip a doeontn comietcultoc ssn
‘Thanks,
Reply
Replos
oe Deepak Rey 20 ly 2017 at 1036
Pease check the is accessible tom your webserver?
Jorman Rafe! Morilo Ruiz 1 August 2017 at 0047
H Deepak Ray, Th ute esporng wal rom mye.
But when | ping the nade this responds
Informaclon Nad
IO Pasarela 1 Conector URL Conector Texto Mensa
LOCAL HITPTARGET hpstwwwdneoning conicalcdatorasme Pasareta
Integracsn - ror Contact Sema Exteme (18,1072)
Reply
Jorman Refae! Morito Rule 1 August 2017 at 2:58
‘This conmenthas bon removed bythe author,
Reply
Fh ire sears een anv aie 800, tort ine
CGoteway inagraton -Enar Exel System Contet (158, 10721)
“The inogratongalaway has rot been sel contact he external syste, The speci
retwark locaton le Waly to be etransous or the st temporanly or permanent
naval
_deepakpeoplesoft blagspot.com/2013/01/consume-thire-party-web-servce.html2sitt2019,
Making Way into PeopleSoft: Consume Third Party Web Service in PeopleSoft
“Cou you help me, regard
Reply
e Deepak Ray August 2017 at 07:19
fan you phase chock the contents of _eologhinl fle
owes. CFG_HOME:pI855DwebsrwHCNS2OMOpplctonsipeoslesUPSIGA Ws
ONEBANE
Es
‘hope 18 sat is comet in your aya
Reply
Mor Ruiz 10 August 2017 a 1823
-nross wandnoontine com
O orate teey nt tr ane nt ra
‘shaving your valuable inorsaon ad tine, reate Keep updatingrlesot one ating
ely
James 11 January 2019 at04-2
Howto consume a wel which require username and password?
Unknown 5 July 2018 at 03:56
Hi Deepak
Excalnt oumant on PeoslaSof web sorv205
‘Wists you mind sharng your em adsrest ne Ihave a few questions, Thanks in
ep
Oneonta
Reply
‘stabi HTTP connacion (1562882)
Can because by any ofthe along
1 Cannot oad csrioats de o keystore password (nt encrypt).
2. Koystrs lena found
3. Prony server not congure” any help on his is aparece. Thanks
Reply
Enter your comment.
(2 =
[Prat] tee Naty
‘subeenbe to: Post Comment (Atm)
_deepakpeoplesoftblagspot.com/2013/0t/consume-thire-party-web-servce html
tom2er2019 Making Way into PaopleSot: Consume Third Party Web Service in PeopleSoft
‘Simpl theme. Powered by Slr
deepakpeoplesoftblogspot.com/2013/0"/consume-thrd-paty-web-service. html wnt