try {
AgentPortType stub = this.createStub(uid);
AccountExistenceRequestDocument reqDoc = AccountExistenceRequestDocument.Factory
.newInstance();
VoidRequestType req = reqDoc.addNewAccountExistenceRequest();
BooleanResponseDocument responce = stub.doesAccountExist(reqDoc);
if (null == responce || null == responce.getBooleanResponse()) {
throw new MyLeadException("Invalid responce returned");
}
boolean result = responce.getBooleanResponse().getValue();
logger.finest("result: " + result);
return result;
} catch (RuntimeException e) {
throw new MyLeadException(e);
}