Have you tried load the XLS into a KnowledgeBase without using a KnowledgeAgent?<br><br> Trying to narrow down where the issue might be will help (everyone) tremendously.<br><br><div class="gmail_quote">On 5 January 2012 16:40, ollem <span dir="ltr"><<a href="mailto:olle.martensson@digitalroute.com">olle.martensson@digitalroute.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
I'm using a knowledgeagent to point out a changeset XML which contains the<br>
following DTABLE:<br>
<br>
...<br>
<resource source='file:/../templatetest.xls' type='DTABLE' /><br>
...<br>
<br>
when I compile I get the following error:<br>
<br>
Unable to Analyse Expression request == "/":<br>
[Error: unable to resolve method using strict-mode:<br>
ultra.Default.ultra.MYHTTPD.request()]<br>
[Near : {... request == "/" ....}]<br>
^<br>
[Line: 7, Column: 10] : [Rule name='print the incoming query_9']<br>
<br>
The weird this is that MYHTTPD class is a javabean and contains getRequest<br>
and setRequest methods.<br>
notice that it tries a no getter method<br>
ultra.Default.ultra.MYHTTPD.request().<br>
If I do the same logic from a normal DRL rules file it works fine.<br>
MYHTTPD is generated so I cannot past the source here, but it's correct and<br>
as I mentioned working in DRL files.<br>
<br>
this is how the XSL file looks like:<br>
<br>
RuleSet A rules test<br>
Import ultra.Default.ultra.MYHTTPD<br>
<br>
RuleTable print the incoming query<br>
CONDITION ACTION<br>
MYHTTPD<br>
request System.out.println($param);<br>
Matcher Logger<br>
/ "webserver root"<br>
<br>
Anybody who knows what this is about?<br>
<br>
Thanks // Olle<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/xls-decisiontable-unable-to-resolve-method-using-strict-mode-tp3635460p3635460.html" target="_blank">http://drools.46999.n3.nabble.com/xls-decisiontable-unable-to-resolve-method-using-strict-mode-tp3635460p3635460.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></span></blockquote></div><br>