BRE and setting dateTime elements

Home Page Forums BizTalk 2004 – BizTalk 2010 BRE and setting dateTime elements

Viewing 1 reply thread
  • Author
    Posts
    • #12171

      Funny thing in the BRE…

      1. Use a sample schema with a dateTime element
      2. Create a Rule 1 = 1 the sets the element to any DateTime you can find (mscorlib DateTime.Now or DateTime.Now.ToUniversalTime())

      In my BRE it ignores me. When I take the same Xsd file and convert to C# and run it, it works fine (just to prove I wasn’t insane…)

      Have you set a dateTime element via the BRE UI?

      Maybe I’m really missing something here…..

    • #12172

      I needed to publish an instance of the dateTime object via the IFactCreator. So even a DateTime.Now requires an instance for the BRE.

      In the BRE Composer the IFactCreator does the work to instantiate the consumed .Net object. In the Orchestration, you pass instances in as parameters and don’t need the IFactCreator.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.