Package org.jitterbit.integration.server.implementation.webservice.projectadmin.client

Examples of org.jitterbit.integration.server.implementation.webservice.projectadmin.client.ProjectAdministrationServiceLocator


public class TestScheduleProviderWsImpl extends CppWebServiceServerCall implements TestScheduleProvider {
    private static String SERVICE_NAME = "konga_project_administration"; //$NON-NLS-1$
    private String userName, password;
   
    private ProjectAdministration getProjectAdministration(ServerCallback callback) throws IntegrationServerException {
      ProjectAdministrationServiceLocator locator = new ProjectAdministrationServiceLocator();
        try {
            StringBuilder sb = new StringBuilder();
            if (!getConfiguration().configureWebservice(locator, SERVICE_NAME, sb, callback)) {
                return null;
            }
            userName = getConfiguration().getUserName();
            password = getConfiguration().getPassword();
            locator.setkonga_project_administrationEndpointAddress(sb.toString());
            return locator.getkonga_project_administration();
        } catch (ServiceException e) {
            throw new IntegrationServerException("Failed to call web service: " + e.getMessage(), e); //$NON-NLS-1$
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.server.implementation.webservice.projectadmin.client.ProjectAdministrationServiceLocator

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.