How to creat rules in Drools  using java.. 
-------------------------------------------

                 Key: DROOLS-495
                 URL: http://jira.codehaus.org/browse/DROOLS-495
             Project: drools-legacy
          Issue Type: Task
          Components: Examples
         Environment: Windows XP2, java 5.0, drools 5
            Reporter: samadhan shimpi
            Assignee: bob mcwhirter
         Attachments: AddRule.java

can anyone please provide the java code to create rule in Drools,
I have the sample java code as follows : 

SecurityServiceServlet ssi = new SecurityServiceServlet();
ssi.login("","");

RepositoryServiceServlet si = new RepositoryServiceServlet();
String uuid= 
si.getService().createNewRule(ruleName,description,initialCategory,initialPackage,format);
System.out.println("uuid"+uuid);


but as soon as i run the above program "invalid path exception occurs ... " 

Kindly help me.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to