Can i do it using the rest api ?? I am not familiar with web services, any help would be great..
I am using something like this : WebClient client = WebClient.create("http://localhost:8080/"); List list = client.path("guvnor-5.4/rest/categories/").accept("application/json").get(List.class); and I get an error as Exception in thread "main" Status : 401 Headers : WWW-Authenticate : BASIC realm="users" Date : Wed, 03 Apr 2013 05:49:21 GMT Content-Length : 0 Set-Cookie : JSESSIONID=E2888C091F1C4DA2520D573FED778E69; Path=/guvnor-5.4 Server : Apache-Coyote/1.1 at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:680) at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:324) at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:421) at GuvnorConnector.main(GuvnorConnector.java:11) -- View this message in context: http://drools.46999.n3.nabble.com/Fetching-Rule-Name-from-Guvnor-based-on-category-tp4023151p4023185.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users