The following example shows how to access AquaLogic Service Bus objects from within a PBL program.
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