<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText10677 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>I wrote a function in my rule file <STRONG>"boolean test(String name)" </STRONG>and when i use this function in the <lhs></lhs></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>part of one of my rule it's giving me the following error:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT color=#ff0000 size=2>
<P align=left>org.drools.rule.InvalidRulePackage: Rule Compilation error The method test(String) is undefined for the type Rule_validateFullName_0</P></FONT><FONT size=2>
<P align=left></P></FONT><FONT color=#ff0000 size=2>
<P align=left>at org.drools.rule.Package.checkValidity(Unknown Source)</P>
<P align=left>at org.drools.common.AbstractRuleBase.addPackage(Unknown Source)</P>
<P align=left>at com.wipro.loan.validation.bean.Final.readRule(</FONT><U><FONT color=#000080 size=2>Final.java:75</U></FONT><FONT color=#ff0000 size=2>)</P>
<P align=left>at com.wipro.loan.validation.bean.Final.main(</FONT><U><FONT color=#000080 size=2>Final.java:28</U></FONT><FONT color=#ff0000 size=2>)</FONT></P>
<P align=left><FONT color=#ff0000 size=2><FONT color=#000000>now i want to know that how can i pass the return value of a method of a bean class as a argument of <FONT face=Arial><STRONG>"boolean test(String name)"</STRONG> method.</FONT></FONT></FONT></P>
<P align=left><FONT face=Arial size=2>I am sending the source files in the attachment.</FONT></P></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Please help me.</FONT></DIV>
<DIV dir=ltr> </DIV></DIV>
<DIV id=idSignature35182 dir=ltr>
<DIV><FONT face=Arial size=2><EM><STRONG>With Regards</STRONG></EM></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><STRONG>Prateek</STRONG></EM></FONT><FONT face=Arial><EM><STRONG></STRONG></EM></FONT></DIV></DIV></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000><br>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. <br>
<br>
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.<br>
<br>
www.wipro.com<br>
</font></td></tr></table>