callback.caught(new IntegrationServerException("Server exception: " + e.getMessage(), e));
}
}
private org.jitterbit.integration.server.implementation.webservice.useradmin.client.UserAdmin getUserAdmin(ServerCallback callback) throws IntegrationServerException {
UserAdminServiceLocator locator = new UserAdminServiceLocator();
try {
StringBuilder sb = new StringBuilder();
if (!getConfiguration().configureWebservice(locator, SERVICE_NAME, sb, callback)) {
return null;
}
userName = getConfiguration().getUserName();
password = getConfiguration().getPassword();
serverInfo = getConfiguration().getServerInfo();
locator.setkonga_useradminEndpointAddress(sb.toString());
return locator.getkonga_useradmin();
} catch (ServiceException e) {
throw new IntegrationServerException("Failed to call web service: " + e.getMessage(), e);
}
}