Package org.jitterbit.integration.server.implementation.webservice.interchange.connection.client

Examples of org.jitterbit.integration.server.implementation.webservice.interchange.connection.client.TestConnectionServiceLocator


    private static String SERVICE_NAME = "konga_test_connection";

    private String userName, password;

    private TestConnection getTestConnection(ServerCallback callback) throws IntegrationServerException {
        TestConnectionServiceLocator locator = new TestConnectionServiceLocator();
        try {
            StringBuilder sb = new StringBuilder();
            if (!getConfiguration().configureWebservice(locator, SERVICE_NAME, sb, callback)) {
                return null;
            }
            userName = getConfiguration().getUserName();
            password = getConfiguration().getPassword();
            locator.setkonga_test_connectionEndpointAddress(sb.toString());
            return locator.getkonga_test_connection();
        } catch (ServiceException e) {
            throw new IntegrationServerException("Failed to call web service: " + e.getMessage(), e);
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.server.implementation.webservice.interchange.connection.client.TestConnectionServiceLocator

Copyright © 2018 www.massapicom. 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.