bre execution from .net code
hai all,
i created normal xml schema , created bre rules xml facts..
i created bre xml file
i tested rule workng
and wrote program execute .
class program
{
static void main(string[] args)
{
xmldocument doc = new xmldocument();
doc.load(@"c:\users\srinath.dasyapu\desktop\studenttest.xml");
typedxmldocument txd = new typedxmldocument("ruleset.po", doc);
policy policy =new policy("test_policy");
policy.execute(txd);
console.writeline(txd.document.outerxml);
policy.dispose();
console.readline();
}
}
}
i not getting error update not happening in file..?
any thing wrong....
i got issue issue schema name should "namespace.typename"
you have call this
class program { static void main(string[] args) { xmldocument doc = new xmldocument(); doc.load(@"c:\users\srinath.dasyapu\desktop\studenttest.xml"); typedxmldocument txd = new typedxmldocument("biztalkbreproject.testschema", doc); policy policy =new policy("studentdetailscheck"); policy.execute(txd); console.writeline(txd.document.outerxml); policy.dispose(); console.readline(); } } }
BizTalk Server > BizTalk Server General
Comments
Post a Comment