Examples of XPlannerServiceLocator


Examples of org.nxplanner.soap.client.XPlannerServiceLocator

    public XPlanner createXPlanner() throws Exception {
        XPlannerProperties properties = new XPlannerProperties();
        String serviceUrl = properties.getProperty("xplanner.test.url") + "/soap/XPlanner";
        String userId = getUserId() != null ? getUserId() : properties.getProperty("xplanner.test.user");
        String password = getPassword() != null ? getPassword() : properties.getProperty("xplanner.test.password");
        XPlannerServiceLocator xplannerServiceLocator = new XPlannerServiceLocator();
        XPlanner xplanner1 = xplannerServiceLocator.getXPlanner(new URL(serviceUrl));
        ((Stub)xplanner1).setUsername(userId);
        ((Stub)xplanner1).setPassword(password);
        XPlanner xplanner = xplanner1;
        return xplanner;
    }
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.