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