Community
Participate
Working Groups
From Help page: "Binding an access variable dynamically" you can copy the below example code: myService IMyService; myBinding HttpRest{@Resource}; myBinding.request.encoding = Encoding.json; myService = servicelib.completeBind(myService, myBinding); Generated Java code has compilation error indicating serviceLib is not existed in Java runtime library.
As of now, the only function in ServiceLib is completeBind, which is used for service access; and service access is not now supported from Java code. The error in the code is the lack of a question mark after the service type, here: myService IMyService?; I corrected that error this morning, but you'll need to wait for another build to see the correction.