<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
As always with XML. First do it in DRL, when that works us the
XMLDumper to get the working XML out. This should provide you
everything you know.<br>
<br>
Mark<br>
<a class="moz-txt-link-abbreviated" href="mailto:prateek.katiyar@wipro.com">prateek.katiyar@wipro.com</a> wrote:
<blockquote
 cite="mid:A94AD757879CE142B7CEBC3E6FF5D3EC02C6A9E6@BLR-EC-MBX02.wipro.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2900.3059" name="GENERATOR">
  <div id="idOWAReplyText10677" dir="ltr">
  <div dir="ltr"><font color="#000000" face="Arial" 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 &lt;lhs&gt;&lt;/lhs&gt;</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">&nbsp;</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"></font><font color="#ff0000" size="2">
  </font>
  <p align="left"><font color="#ff0000" size="2">at
org.drools.rule.Package.checkValidity(Unknown Source)</font></p>
  <p align="left"><font color="#ff0000" size="2">at
org.drools.common.AbstractRuleBase.addPackage(Unknown Source)</font></p>
  <p align="left"><font color="#ff0000" size="2">at
com.wipro.loan.validation.bean.Final.readRule(</font><u><font
 color="#000080" size="2">Final.java:75</font></u><font color="#ff0000"
 size="2">)</font></p>
  <p align="left"><font color="#ff0000" size="2">at
com.wipro.loan.validation.bean.Final.main(</font><u><font
 color="#000080" size="2">Final.java:28</font></u><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&nbsp;&nbsp;<font face="Arial"><strong>"boolean
test(String name)"</strong>&nbsp; method.</font></font></font></p>
  <p align="left"><font face="Arial" size="2">I am sending the source
files&nbsp;in the attachment.</font></p>
  </div>
  <div dir="ltr"><font color="#000000" face="Arial" size="2">Please
help me.</font></div>
  <div dir="ltr">&nbsp;</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>
  <table>
    <tbody>
      <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>
<a class="moz-txt-link-abbreviated" href="http://www.wipro.com">www.wipro.com</a><br>
        </font></td>
      </tr>
    </tbody>
  </table>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>