Development Activities for PeopleSoft Integration Broker Processing
This section discusses development activities for using the PeopleSoft Integration Broker processing in conjunction with the Inbound File Loader utility.
-
Create a message definition in the PeopleSoft Pure Internet Architecture.
The structure of the message definition must be similar to the structure of the file layout definition that you created.
-
Create a service.
-
Create an asynchronous one-way service operation for the service.
-
Create a local-to-local routing definition for the service operation.
-
Create an OnNotification handler and call the functional library IB_FILE_SUBCODE.
PeopleTools delivers this functional library and it can be used for any generic notification.
The following example shows code an OnNotification handler calling the functional library:
import PS_PT:Integration:INotificationHandler; class QUSubscribe implements PS_PT:Integration:INotificationHandler method QUSubscribe(); method OnNotify(&_MSG As Message); end-class; Declare Function Subscribe PeopleCode FUNCLIB_IBFILE.IB_FILE_SUBCODE FieldFormula; /* constructor */ method QUSubscribe end-method; method OnNotify /+ &_MSG as Message +/ /+ Extends/implements PS_PT:Integration:INotificationHandler.OnNotify +/ /* Variable Declaration */ Local Message &MSG; Local Rowset &MSG_ROWSET; &MSG = &_MSG; Subscribe(&MSG); end-method; -
Define processing rules in the Inbound File Loader Rules page in the PeopleSoft Pure Internet Architecture.
-
Initiate flat file processing using the Inbound File Processing page.
-
Test the inbound flat file processing.