If you are using Restful web services in Peoplesoft, you can set your custom header in response message. Below piece of code helps to set header for response message.
In addition you need to make sure below change to service operation routing tab to read the header from request message IBInfo class and populate the same in response message.
There is a bug with People toolset (8.54.12 or below), for incoming GET request has the capability of capturing the header details in IBInfo class where for POST and PUT, the details are not captured.
As a workaround, you need to modify the RestListeningConnector.class file to capture the header details for POST and PUT as well.
Otherwise ORACLE has already included this fix with next patch (8.54.21). Hope this helps!
Thanks,
Manoranjan
In addition you need to make sure below change to service operation routing tab to read the header from request message IBInfo class and populate the same in response message.
There is a bug with People toolset (8.54.12 or below), for incoming GET request has the capability of capturing the header details in IBInfo class where for POST and PUT, the details are not captured.
As a workaround, you need to modify the RestListeningConnector.class file to capture the header details for POST and PUT as well.
Otherwise ORACLE has already included this fix with next patch (8.54.21). Hope this helps!
Thanks,
Manoranjan
Hi Manoranjan,
ReplyDeleteI am doing integration from fusion to peoplesoft and on real time basis whenever any new person is created, it should be synced up with Peoplesoft.
could you please suggest what approach I should follow?
1. I have setup anonymous node with HTTPTARGET connector properties including header of basic authorization.
2. I created a CI in Peoplesoft and created web service based on the CI. I have set of service operations created for Create,Get, find etc.
but not sure how to pull the real time data from fusion and insert in peoplesoft…
Regards,
Jitendra
2.