private static final String SERVICE_NAME = "konga_xml_infoprovider";
private org.jitterbit.integration.server.implementation.webservice.interchange.xml.client.XmlInfoProvider getXmlInfoProvider(
ServerCallback callback) throws IntegrationServerException {
XmlInfoProviderServiceLocator locator = new XmlInfoProviderServiceLocator();
try {
StringBuilder sb = new StringBuilder();
if (!getConfiguration().configureWebservice(locator, SERVICE_NAME, sb, callback)) {
return null;
}
locator.setkonga_xml_infoproviderEndpointAddress(sb.toString());
return locator.getkonga_xml_infoprovider();
} catch (ServiceException e) {
throw new IntegrationServerException("Failed to call web service: " + e.getMessage(), e);
}
}