locked
BAM - Update Messages/Trigger Orchestration RRS feed

  • Question

  • I'm using WPF and BAM API to display details of Messages flowing in BizTalk Server. Can BAM be used to update these messages from my external WPF application? My starting point is this tutorial: http://www.codeproject.com/Articles/33097/Displaying-Messages-and-Its-Flow-from-BizTalk-Mess

    I would like to make a few changes to the message body and trigger the orchestration from my external application. Any possibility?

     

    Haider

    Wednesday, December 10, 2014 7:23 AM

Answers

  • BAM cannot alter the message contents. BAM is used for reporting purposes only.

    If you want to create a workflow where you want the user to be able to modify the messages through a portal then look at using SharePoint for the purpose. For your message you can create an InfoPath form. From your orchestration you can publish this message to a folder (the message XML) in SharePoint. In the SharePoint Folder this will be viewable through the InfoPath form where you can make changes to the XML and submit it into another folder in SharePoint. From this folder using SharePoint Adapter, you can pickup the message for further processing.

    You can also host your WPF in SharePoint where for certain tasks you can consume BizTalk Services (orchestrations published as ASPX or WCF endpoints).

    Regards.

    • Marked as answer by Angie Xu Tuesday, December 16, 2014 8:16 AM
    Wednesday, December 10, 2014 8:34 AM
  • No ,BAM is a tool for light weight tracking of your business flow and should not be treated as repository  for storing the BizTalk message .  If you want feature of repair and submit ,It can be either achieved by ESB Exception Management Portal or by using share point  info path . It will be easy for your WPF Application to integrate with both share point infopath and ESB Exception Management portal.

    There are various MSDN articles from which you can take reference .

    Using an InfoPath Form to Repair a Message or Submit a New Message

    Running the Repair and Resubmit Custom Exception Handler Sample

    Message Repair and New Submission

    When BizTalk meets SharePoint, it makes sense…

    Thanks

    Abhishek


    Wednesday, December 10, 2014 6:10 PM

All replies

  • BAM cannot alter the message contents. BAM is used for reporting purposes only.

    If you want to create a workflow where you want the user to be able to modify the messages through a portal then look at using SharePoint for the purpose. For your message you can create an InfoPath form. From your orchestration you can publish this message to a folder (the message XML) in SharePoint. In the SharePoint Folder this will be viewable through the InfoPath form where you can make changes to the XML and submit it into another folder in SharePoint. From this folder using SharePoint Adapter, you can pickup the message for further processing.

    You can also host your WPF in SharePoint where for certain tasks you can consume BizTalk Services (orchestrations published as ASPX or WCF endpoints).

    Regards.

    • Marked as answer by Angie Xu Tuesday, December 16, 2014 8:16 AM
    Wednesday, December 10, 2014 8:34 AM
  • No ,BAM is a tool for light weight tracking of your business flow and should not be treated as repository  for storing the BizTalk message .  If you want feature of repair and submit ,It can be either achieved by ESB Exception Management Portal or by using share point  info path . It will be easy for your WPF Application to integrate with both share point infopath and ESB Exception Management portal.

    There are various MSDN articles from which you can take reference .

    Using an InfoPath Form to Repair a Message or Submit a New Message

    Running the Repair and Resubmit Custom Exception Handler Sample

    Message Repair and New Submission

    When BizTalk meets SharePoint, it makes sense…

    Thanks

    Abhishek


    Wednesday, December 10, 2014 6:10 PM