Author Info
Chris Malek

Chris Malek is a PeopleTools® Technical Consultant with two decades of experience working on PeopleSoft enterprise software projects. He is available for consulting engagements.

About Chris Work with Chris
Looking for pain-free PeopleSoft web services? 😀
PeopleSoft Simple Web Services (SWS)

Introducing a small but powerful PeopleSoft bolt-on that makes web services very easy. If you have a SQL statement, you can turn that into a web service in PeopleSoft in a few minutes.

Contents

OnNotify

The OnNotify event is triggered when an Asynchronous event is subscribed to. It takes the message data sent by the publishing nodes and does something with it. It is generally just PeopleCode that does SQL inserts or invokes a CI. It does not return any data because the client is not waiting for a response (ie Asynchronous)

import PS_PT:Integration:INotificationHandler;

class asyncUtestOnNotifyHandler implements PS_PT:Integration:INotificationHandler
   method OnNotify(&MSG As Message);
end-class;

method OnNotify
   /+ &MSG as Message +/
   /+ Extends/implements PS_PT:Integration:INotificationHandler.OnNotify +/
   
   Local XmlDoc &xmlDocInBound;
   
   Local XmlNode &requestRootNode;
   &xmlDocInBound = &MSG.GetXmlDoc();
   
end-method;