none
BizTalk Adapter GUI RRS feed

  • Question

  • I wrote a BizTalk adapter using the adapter framework. I was based on the example of file adapter. Now, I need to make my adapter more useful. I need to generate XSD files corresponding to the XML files that I will submit to BizTalk. I can do this generation on background since the adapter is a DLL. I'm wondering if there's a way to create GUI for the adapter, so that the user of the adapter can have a full control.

     

    Regards,

    Nabil.

    • Moved by Ben Cline1Moderator Monday, June 7, 2010 8:14 PM Related to adapters (From:BizTalk Server General)
    Monday, June 7, 2010 2:32 PM

Answers

  • Did you want a GUI to run in VS during design time or at run time like in the property pages of a send port? I think both are possible.

    The source for the null adapter gives an example of loading a form for a port's properties: http://winterdom.com/2008/09/devnulladapterongithub

    If you want to use a GUI within VS at run-time you could create just an exe and refer to it in the "Tools\External Tools" menu or you might want to make a custom VS extension wizard, this link gives you a starting point: http://msdn.microsoft.com/en-us/library/aa289147(VS.71).aspx

    BTW, if you build the adapter using the WCF LOB SDK the VS integration is out of the box because it uses the add adapter service reference wizard. I have found this approach to be very helpful from a VS tooling perspective. You could recode your adapter using the WCF LOB SDK as a WCF custom binding in probably about as much time as it takes to build a custom VS wizard.

    Thanks,


    If this answers your question, please use the "Answer" button to say so | Ben Cline
    Monday, June 7, 2010 8:13 PM
    Moderator

All replies

  • Did you want a GUI to run in VS during design time or at run time like in the property pages of a send port? I think both are possible.

    The source for the null adapter gives an example of loading a form for a port's properties: http://winterdom.com/2008/09/devnulladapterongithub

    If you want to use a GUI within VS at run-time you could create just an exe and refer to it in the "Tools\External Tools" menu or you might want to make a custom VS extension wizard, this link gives you a starting point: http://msdn.microsoft.com/en-us/library/aa289147(VS.71).aspx

    BTW, if you build the adapter using the WCF LOB SDK the VS integration is out of the box because it uses the add adapter service reference wizard. I have found this approach to be very helpful from a VS tooling perspective. You could recode your adapter using the WCF LOB SDK as a WCF custom binding in probably about as much time as it takes to build a custom VS wizard.

    Thanks,


    If this answers your question, please use the "Answer" button to say so | Ben Cline
    Monday, June 7, 2010 8:13 PM
    Moderator
  • I made a custom VS extension wizard based on the method DisplayUI. Now the user can generate schemas and configure port when my application generates new ports.

    Thanks & Regards

     

    Tuesday, June 15, 2010 11:10 AM