private String userName = "";
private String password = "";
private org.jitterbit.integration.server.implementation.webservice.interchange.db.client.OdbcInfoProvider getDatabaseInfoProvider(ServerCallback callback) throws IntegrationServerException {
OdbcInfoProviderServiceLocator locator = new OdbcInfoProviderServiceLocator();
try {
StringBuilder sb = new StringBuilder();
if (!getConfiguration().configureWebservice(locator, SERVICE_NAME, sb, callback)) {
return null;
}
userName = getConfiguration().getUserName();
password = getConfiguration().getPassword();
locator.setkonga_odbc_infoproviderEndpointAddress(sb.toString());
return locator.getkonga_odbc_infoprovider();
}
catch (ServiceException e) {
throw new IntegrationServerException("Failed to call web service: " + e.getMessage(), e);
}
}