So is anyone reading this forum? Looks like there are very few messages here, not sure if I should just post in the "Best Practices"....
Anyways, here's the question - how do I use the peoplesoft component interface builder? I have the peoplesoft view & form builder running with an input page, search results & detail, but now I want to have some control over the service calls by invoking them myself from java code. How is this done? How do I pass key information?
Any help would be appreciated.
This topic has been locked.
3 replies Latest Post - 2008-01-30T15:30:08Z by SystemAdmin
Pinned topic How to invoke PS from java code?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2008-01-30T15:30:08Z at 2008-01-30T15:30:08Z by SystemAdmin
DGawron 10000054HC1 PostACCEPTED ANSWER
Re: How to invoke PS from java code?2008-01-30T04:35:53Z in response to SystemAdminYou use it just like any other data integration builder in Portlet Factory. After you have add the builder to a model (and it's been correctly configured with inputs) the webApp tree view will list a numder of Data Services. You invoke these services from Action Lists to "find", "get", and "save" on the selected CI. For example, when you choose CI_PERSONAL_DATA the builder generates these services:
readTable (Method: GetPersonalData.findData)
findKeys (Variable: GetPersonalData_FindKeys) input
table (Variable: GetPersonalData_SearchResults) output
readDetails (Method: GetPersonalData.getData)
details (Variable: GetPersonalData_Detail) output
getKeys (Variable: GetPersonalData_GetKeys) input
create (Method: GetPersonalData.createData)
update (Method: GetPersonalData.saveData)
details (Variable: GetPersonalData_Detail) input
Operation readTable is "find" and operation "readDetails" is "get". You specify "find" and "get" keys by populating the service input parameters listed for an operation. After invoking a service the reuslts will be found in the listed output parameter.
Re: How to invoke PS from java code?2008-01-30T15:26:22Z in response to DGawronOk, that seems to make sense. So what do the input parms supposed to look like? I was examining the code generated by the view & form builder and it seems like it's passing some xml (no idea what the contents are though).