use of org.pentaho.platform.security.userrole.ws.DefaultUserRoleListWebService in project pentaho-platform by pentaho.
the class UserDetailsRoleListEndpointIT method setUp.
@Before
public void setUp() throws Exception {
try {
// $NON-NLS-1$
Endpoint.publish("http://localhost:8891/userrolelisttest", new DefaultUserRoleListWebService());
} catch (Throwable th) {
// ignore
}
System.setProperty("com.sun.xml.ws.monitoring.endpoint", "true");
System.setProperty("com.sun.xml.ws.monitoring.client", "true");
System.setProperty("com.sun.xml.ws.monitoring.registrationDebug", "FINE");
System.setProperty("com.sun.xml.ws.monitoring.runtimeDebug", "true");
Service service = Service.create(new URL("http://localhost:8891/userrolelisttest?wsdl"), new QName("http://www.pentaho.org/ws/1.0", "userRoleListService"));
userRoleListWebService = service.getPort(IUserRoleListWebService.class);
}
Aggregations