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

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'