private static final String WS_NAME = "konga_activity_infoprovider";
protected String userName, password;
protected final org.jitterbit.integration.server.implementation.webservice.activity.client.ActivityInfoProvider getServerProxy(ServerCallback callback) {
ActivityInfoProviderServiceLocator locator = new ActivityInfoProviderServiceLocator();
StringBuilder sb = new StringBuilder();
if (getConfiguration().configureWebservice(locator, WS_NAME, sb, callback)) {
try {
locator.setkonga_activity_infoproviderEndpointAddress(sb.toString());
userName = getConfiguration().getUserName();
password = getConfiguration().getPassword();
return locator.getkonga_activity_infoprovider();
} catch (ServiceException ex) {
callback.caught(new IntegrationServerException("Failed to call webservice: " + ex.getMessage(), ex));
}
}
return null;