}
}
private org.jitterbit.integration.server.implementation.webservice.interchange.jobcontrol.client.JobControl getJobControl(
ServerCallback callback) throws IntegrationServerException {
JobControlServiceLocator locator = new JobControlServiceLocator();
try {
StringBuilder sb = new StringBuilder();
if (!getConfiguration().configureWebservice(locator, SERVICE_NAME, sb, callback)) {
return null;
}
userName = getConfiguration().getUserName();
password = getConfiguration().getPassword();
locator.setkonga_jobcontrolEndpointAddress(sb.toString());
return locator.getkonga_jobcontrol();
} catch (ServiceException e) {
throw new IntegrationServerException("Failed to call web service: " + e.getMessage(), e);
}
}