try {
Stub addressStub = createOpenInterfaceAddressProxy();
addressStub._setProperty(
javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,
openInterfaceHost + WORKSPACE_ADMIN_WEBAPP + '/' + ADDRESS_SERVICE);
OpenInterfaceAddressIF oiAddress = (OpenInterfaceAddressIF) addressStub;
oiEndpointAddress = oiAddress.getOpenInterfaceAddress(organizationName);
} catch(RemoteException e) {
logger.logMessage(
"Exception while querying OpenInterface endpoint address: " + e.getMessage(),
logClassRef,
MessageLogger.ERROR);