Hi Davide,
thank you very much for your suggestions. I'm very pleased to see that you
find interesting this topic..i have to think about the possibility to come
there to discuss about this, cause i'm really really busy between thesis
and job. But i'm interested and i'll think about it, and i'll write you a
mail about this in the next days. I'm sorry to disturb you again, but i
need to ask you some technical details, because i need to go on with my
thesis work...
You suggest use of rule template, i read about this, but my doubt are:
- i find examples (
http://planet.jboss.org/post/drools_rule_templates),
where data is taken from a spreadsheet and then used to generate rules,
from the rule template. I see that particular instructions are used, such
as *(a){row.rowNumber},* that i think can be used only with data stored in a
row-column format. So this example can't help me about data from xml. But i
read that rule template can be used with generals data format, but i can't
find anything from which i can start about xml data...can you help me in
some way? Any example or web resourse?
- i'm confusing about the translator: if i use rule template, i need a
tranlsator too? Or is it an alternative? I think that is an alternative,
because if i translate xml with an xsl stylesheet, i can otbtain directly
the rules, without using rule template..is it correct, or i need translator
also if i use rule template, and generate rules from xml data?
Thanks in advance,
Filippo
2012/5/4 Davide Sottara <dsotty(a)gmail.com>
Dear Filippo,
I would use rule templates to generate rules from the XML, and then use
them
to create a new session, or add them to an existing session. The translator
itself could be implemented in DRL? XSLT? ...?
Inserting a Policy would hardly work generally, Drools does not (yet) have
full prolog-like unification, so that solution would be feasible only if
you
could write meta-rules to join Policies and runtime data/facts.
Leaving the technical details apart, the mapping between WS-Policy and
rules
is an interesting topic... would you be interested in coming to Bologna and
spend a few hours discussing the problem in greater detail?
Davide
----------------
Davide Sottara, PhD
Post-Doc Affiliate
Faculty of Engineering
University of Bologna
Italy
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Ws-Policy-and-drools-rules-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users