PeopleSoft Integration Broker Allows to override the connector Properties.
The following code example shows how HTTPTARGET connector properties can be set at run time using peoplecode.
&LogoutMSG = CreateMessage(Operation.LOGOUT22824);
&LogoutMSG.IBInfo.IBConnectorInfo.ConnectorName = "HTTPTARGET";
&LogoutMSG.IBInfo.IBConnectorInfo.ConnectorClassName = "HttpTargetConnector";
&b2 = &LogoutMSG.IBInfo.IBConnectorInfo.AddConnectorProperties("Content-Type", "text/xml", %Header);
&b2 = &LogoutMSG.IBInfo.IBConnectorInfo.AddConnectorProperties("sendUncompressed", "Y", %Header);
&b2 = &LogoutMSG.IBInfo.IBConnectorInfo.AddConnectorProperties("Method", "POST", %HttpProperty);
&b2 = &LogoutMSG.IBInfo.IBConnectorInfo.AddConnectorProperties("SOAPUpContent", "Y", %HttpProperty);
/* &serverUrl, is the End point URL to which message needs to be posted */
&b2 = &LogoutMSG.IBInfo.IBConnectorInfo.AddConnectorProperties("URL", &serverUrl, %HttpProperty);
&LogoutMSG.IBInfo.ConnectorOverride = True;
&LogoutMSG.SetXmlDoc(&logout_xmldoc);
&LogoutRespMSG = %IntBroker.SyncRequest(&LogoutMSG);
Points to be considered:
- Dynamic assignment of Connector properties allows to skip Configuration of Connector Properties at the Service Operation Routing.
![]() |
| Connector Properties in Service Operation Routing |
