if (bindingPOA == null) {
throw new CorbaBindingException(
"getAddressWithId failed because the poa is null");
}
try {
Servant servant = bindingPOA.id_to_servant(objectId);
org.omg.CORBA.Object objRef
= bindingPOA.create_reference_with_id(id.getBytes(),
servant._all_interfaces(bindingPOA, objectId)[0]);
AddressType addr = new AddressType();
orbConfig.exportObjectReference(orb, objRef,
address.getLocation(),
addr);
ref = EndpointReferenceUtils.getEndpointReference(addr.getLocation());