Examples of XPlanner


Examples of org.nxplanner.soap.XPlanner

        setUpPersonRole(project, viewer, "viewer");
        commitCloseAndOpenSession();

        setUserId(viewer.getUserId());
        setPassword("test");
        XPlanner xplanner = createXPlanner();
        ProjectData[] projects = xplanner.getProjects();

        assertEquals("wrong # of project", 1, projects.length);

        ProjectData soapProject = xplanner.getProject(project.getId());
        assertNotNull("project not found", soapProject);
    }
View Full Code Here

Examples of org.nxplanner.soap.client.XPlanner

        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.