EndpointReference targetEPR = new EndpointReference(
"local://services/AddressBookService");
options.setTo(targetEPR);
options.setAction("getEntries1");
Object[] result = serviceClient.invokeBlocking(opAddEntry, opAddEntryArgs, new Class[]{Entry[].class});
assertNotNull(result);
Entry[] entries = (Entry[]) result[0];
assertEquals(entries.length, 2);
}