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.

  1. 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.

  2. Create a service.

  3. Create an asynchronous one-way service operation for the service.

  4. Create a local-to-local routing definition for the service operation.

  5. 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;
    
  6. Define processing rules in the Inbound File Loader Rules page in the PeopleSoft Pure Internet Architecture.

  7. Initiate flat file processing using the Inbound File Processing page.

  8. Test the inbound flat file processing.