Examples of OdbcInfoProviderServiceLocator


Examples of org.jitterbit.integration.server.implementation.webservice.interchange.db.client.OdbcInfoProviderServiceLocator

    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);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.