Examples of XmlInfoProviderServiceLocator


Examples of org.jitterbit.integration.server.implementation.webservice.interchange.xml.client.XmlInfoProviderServiceLocator

    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);
        }
    }
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.