myService MyServicePart{};
When you work in a Rich UI application, you always use that syntax to access a local EGL service; then you use the variable in a call statement, which is described in “Invoking a service asynchronously from a Rich UI application.”
Interface MyInterfacePart Function GetEmployeeDetail(employeeCode STRING IN, employeeSalary FLOAT OUT, employeeStatus STRING INOUT) returns(myEmployeeRecordPart); end
You can specify a variety of EGL data types and can use the modifiers IN, OUT, and INOUT.
myService MyServicePart {@BindService{bindingKey="MyServicePart"}};
MyService MyServicePart {@BindService{}};
Next, use the variable in a service-invocation statement, as described in “Invoking a service synchronously from outside of Rich UI.”