Search in sources :

Example 1 with DefaultUserRoleListWebService

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);
}
Also used : DefaultUserRoleListWebService(org.pentaho.platform.security.userrole.ws.DefaultUserRoleListWebService) QName(javax.xml.namespace.QName) IUserRoleListWebService(org.pentaho.platform.security.userrole.ws.IUserRoleListWebService) IUserRoleListWebService(org.pentaho.platform.security.userrole.ws.IUserRoleListWebService) Service(javax.xml.ws.Service) DefaultUserRoleListWebService(org.pentaho.platform.security.userrole.ws.DefaultUserRoleListWebService) URL(java.net.URL) Before(org.junit.Before)

Aggregations

URL (java.net.URL)1 QName (javax.xml.namespace.QName)1 Service (javax.xml.ws.Service)1 Before (org.junit.Before)1 DefaultUserRoleListWebService (org.pentaho.platform.security.userrole.ws.DefaultUserRoleListWebService)1 IUserRoleListWebService (org.pentaho.platform.security.userrole.ws.IUserRoleListWebService)1