Invoke progmatically Add Adapter Service Reference Dialog

Locked Invoke progmatically Add Adapter Service Reference Dialog

  • Tuesday, March 27, 2012 6:17 PM
     
     

    Hello,

    I am trying to use the add adapter service reference dialog in my application. This dialog is progmatically invoked from 'Microsoft.ServiceModel.Channels.Tools.MetadataSearchBrowse.dll'. (where in I am creating a windows form application and be able to use the form application inside of a wizard template).

    The dialog that I have just allows me to search and browse, it doesnt allow me to actually add the adapter service reference.

    Also by using the GetWsdl() method in MetadataUserControl I am able to get the associated WSDL, However, what I would like is to get is the associated XAML and cs file (which usually one gets while consuming the add adapter service reference dialog.)

    Can you please let me know what call to the API will allow me to get the associated XAML and cs file from the metadata user control.

    I have used the help of the following article :

    http://msdn.microsoft.com/en-US/library/dd792816(v=bts.10).aspx

    However, for my next step I would require some further direction.

    Thanks for your understanding !!


    Fardu