org.uddi.custody_v3.TransferToken apiTransferToken = body.getTransferToken();
if (apiTransferToken == null)
throw new FatalErrorException(new ErrorMessage("errors.transfertoken.NullInput"));
KeyBag keyBag = body.getKeyBag();
if (keyBag == null)
throw new FatalErrorException(new ErrorMessage("errors.keybag.NullInput"));
List<String> apiKeyList = keyBag.getKey();
if (apiKeyList == null || apiKeyList.size() == 0)
throw new ValueNotAllowedException(new ErrorMessage("errors.keybag.NoInput"));
String transferTokenId = new String(apiTransferToken.getOpaqueToken());
org.apache.juddi.model.TransferToken modelTransferToken = em.find(org.apache.juddi.model.TransferToken.class, transferTokenId);