| Summary: | Service-related doc is not exactly correct | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Zhi Zhu <zhuzhi> |
| Component: | EDT | Assignee: | Ben Margolis <margolis> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | chenzhh, svihovec |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
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.
|
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.