Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

call datacontrol webservice method from javacode and get the resault

weshah79Jun 16 2010 — edited Jun 16 2010
Hello 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 14 2010
Added on Jun 16 2010
6 comments
1,030 views