call datacontrol webservice method from javacode and get the resault
weshah79Jun 16 2010 — edited Jun 16 2010Hello Professionals
i have a code that get the binding container and execute a method it works succfully but i do not know how to get the resualt from the java code . my method return an list that contains an object from emp bean.
public void testObject(ClientEvent clientEvent) {
BindingContainer BC = getBindings();
if (BC != null) {
OperationBinding operationBinding =
BC.getOperationBinding("displayTestBean2");
Map params = operationBinding.getParamsMap();
Object result = operationBinding.execute();
here how to get the list from the result and access all element inside it ,and as you know i do not have the emp classes in my project.
}
}
regards
wish79