The OnRequestSend handler executes on the publishing node before outbound message delivery or transformation takes place. In PeopleTools metadata, this handler type corresponds to Handler ID SEND and is labeled “On Send”.
It can be applied to both synchronous and asynchronous outbound service operations, allowing you to manipulate the message payload or dynamically override connector properties specific to the receiving node.
Message objectMessage object returned to Integration Broker for transportPS_PT:Integration:ISendHandlers configured for OnRequestSend must implement PS_PT:Integration:ISend:
import PS_PT:Integration:ISend;
interface ISend
method OnRequestSend(&message As Message) Returns Message;
method OnError(&request As Message);
end-interface;
import PS_PT:Integration:ISend;
class OutboundHttpSendHandler implements PS_PT:Integration:ISend
method OnRequestSend(&Msg As Message) Returns Message;
method OnError(&request As Message);
end-class;
method OnRequestSend
/+ &Msg as Message +/
/+ Returns Message +/
/+ Extends/implements PS_PT:Integration:ISend.OnRequestSend +/
/* Enable connector property overrides */
&Msg.IBInfo.ConnectorOverride = True;
/* Inject custom HTTP headers or override target parameters */
Local array of string &propNames = CreateArray("Header", "Content-Type");
Local array of string &propValues = CreateArray("X-Correlation-ID", %TransactionId);
&Msg.IBInfo.IBConnectorInfo.AddConnectorProperties("Header", "X-Correlation-ID", %TransactionId);
/* Optionally mutate the outbound XML / JSON payload */
Local XmlDoc &xmlDoc = &Msg.GetXmlDoc();
If &xmlDoc <> Null And &xmlDoc.DocumentElement <> Null Then
&xmlDoc.DocumentElement.AddAttribute("publishedDttm", String(%Datetime));
&Msg.SetXmlDoc(&xmlDoc);
End-If;
Return &Msg;
end-method;
method OnError
/+ &request as Message +/
/+ Extends/implements PS_PT:Integration:ISend.OnError +/
/* Outbound send error handling / logging */
end-method;
Look up any record, field, page, or component, audit security, and monitor Integration Broker across every database — in seconds.
A web console built for the PeopleSoft community — operational monitoring, security auditing, and metadata browsing in one tool.
On-demand security and operational reports for your PeopleSoft environment — no client install required.
Research any PeopleSoft object and monitor system health from a single browser tab — no App Designer, no SQL.
Chris Malek is a PeopleTools® Technical Consultant with over two decades of experience. He is available for consulting engagements.
Work with ChrisSWS turns SQL into production REST APIs — ready for AI, modern apps, and partner integrations. One install, unlimited potential.
A powerful PeopleSoft bolt-on that makes REST web services easy. You bring the SQL, SWS handles the rest.
Traditional PeopleSoft web services cost $3,600–$13,000 each to develop. SWS deploys production REST APIs in under 5 minutes through configuration alone.
Turn PeopleSoft data into clean REST APIs for AI integrations, modern applications, and vendor data feeds. Configuration-driven — no PeopleCode required.