The following example shows how to access Oracle Service Bus objects from within a PBL program.
The following PBL code shows how to access an Oracle Service Bus object after it has been cataloged. This example is based on the default example that is provided with Oracle Service Bus.
service as ServiceBus.LoanGateway1.MyService = ServiceBus.LoanGateway1.MyService(); request as ServiceBus.LoanGateway1.LoanStruct = ServiceBus.LoanGateway1.LoanStruct(); request.amount = 12345 request.name = 'John Smith' //display request.name processLoanApp service using loanRequest = request returning result2 = result display result2.name display result2.notes