Welcome to MSDN Blogs Sign in | Join | Help

Add Adapter Service Reference Visual Studio Plug-In

The Add Adapter Service Reference Visual Studio Plug-In is metadata proxy generation tool shipped with WCF LOB Adapter SDK.  It is installed on the users machine as part of Typical setup of the WCF LOB Adapter SDK.  This tool can be used by the adapter consumers in Visual Studio 2005 to browse (and search) metadata and generate .NET CLR proxy classes using the selected operations and/or types.  You can invoke this plug-in by right-clicking on a project and selecting "Add Adapter Service Reference ...".   The plug-in can be invoked from many different type of project templates in Visual Studio including following:

  • Console Application
  • Class Library
  • Windows Application
  • ASP.NET Web Application
  • ASP.NET Web Service Application
  • Device Application

This plug-in doesn't appear in BizTalk Project menu.  For generating metadata from WCF-based adapters in BizTalk Project, see Consume Adapter Service BizTalk Project Add-In. 

When the tool starts, the following user interface appears.

Select the adapter binding and enter the connection URI, if known.  If you don't know the URI syntax, you can let the tool build the URI for you by clicking Configure > URI Properties.

Click on Configure to provide line-of-business application credentials, to set binding properties and to build the connection URI.

Select Security tab to provide WCF credentials.  The WCF LOB Adapter SDK supports three type of WCF client credentials:

  • Username
  • Windows
  • Certificate

Set security type and client credentials as instructed by the adapter you have selected. 

  

Select URI Properties tab to enter connection string properties and to enable the adapter to build a valid connection URI.

Select Binding Properties to set configurable adapter properties supported by the adapter.

Click on Connect, and if valid connection URI and client credentials are provided, you should get the left hand pane populated with the metadata nodes returned by the adapter.  The metadata node can be a category and/or an operation. 

If the adapter supports search, the search text field is enabled.  You can enter a search string to filter the metadata results from the adapter.  

 

Use Property button to view additional information about a category and/or operation.

Use the Advanced dialog to control how the WCF proxy should be generated.  See this post for more information.

Click on OK to generate the artifacts.

The following files are generated:

Case 1: Selected contract type is Outbound

  • CLR WCF Proxy - contains the {Contract} and service implementation that derives from System.ServiceModel.ClientBase<{Contract}>.
  • App.Config - contains the <system.ServiceModel><client><endpoint> and <bindings> configuration

Case 2: Selected contract type is Inbound

  • CLR WCF Service Interface - contains the {Contract}
  • CLR WCF Service Implementation - Stub implementation that derives from {Contract}.
  • App.Config - contains the <system.ServiceModel><service>endpoint>, <bindings> and <behaviors> configuration

 

 

Published Friday, June 22, 2007 4:16 PM by sonua

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Metadata object model extensibility using ExportXmlSchema

Scenario: Adapter Developer needs to define an operation signature using XML Schema types not directly

Friday, June 22, 2007 9:57 PM by Developing adapters using WCF

# WCF LOB Adapter Usage Patterns

An adapter built using WCF LOB Adapter SDK can be used in variety of topologies and scenarios. Follow

Tuesday, July 03, 2007 2:25 PM by Developing adapters using WCF

# Consume Adapter Service BizTalk Project Add-In

The Consume Adapter Service BizTalk Project Add-In is metadata generation tool included in WCF LOB Adapter

Saturday, July 07, 2007 2:27 PM by Developing adapters using WCF

# About WCF LOB Adapter SDK (ASDK)

Many large enterprises have disparate systems including legacy mainframe, packaged and homegrown applications

Saturday, July 07, 2007 2:35 PM by Developing adapters using WCF

# About WCF LOB Adapter SDK (ASDK)

Many large enterprises have disparate systems including legacy mainframe, packaged and homegrown applications

Saturday, July 07, 2007 2:35 PM by Developing adapters using WCF

# Metadata Search Browse Custom User Control

Microsoft.ServiceModel.Channels.Tools.MetadataSearchBrowse.MetadataUserControl is a custom System.Windows.Forms.UserControl

Sunday, July 08, 2007 4:24 PM by Developing adapters using WCF

# Metadata Search Browse User Control

Microsoft.ServiceModel.Channels.Tools.MetadataSearchBrowse.MetadataUserControl is a custom System.Windows.Forms.UserControl

Sunday, July 08, 2007 4:24 PM by Developing adapters using WCF

# How to: Browse/Search metadata in a WCF LOB Adapter

Adapter consumer can browse/search metadata from WCF LOB Adapter using following ways: Using Add Adapter

Sunday, July 08, 2007 4:30 PM by Developing adapters using WCF

# Metadata Search Browse API

WCF LOB Adapter SDK provides API for browsing, searching and resolving metadata besides the Add Adapter

Sunday, July 08, 2007 4:49 PM by Developing adapters using WCF

# How to: Generate a WSDL from a WCF LOB Adapter

Add Adapter Service Reference Visual Studio Plug-In generates a CLR objects and Consume Adapter Service

Sunday, July 08, 2007 5:54 PM by Developing adapters using WCF

# Adapter Connection Management

One of the key features of WCF LOB Adapter SDK is target system’s Connection Management. This posts talk

Monday, July 09, 2007 2:21 AM by Developing adapters using WCF

# Using Adapter Development Wizard

After WCF LOB Adapter SDK is installed on the system, the Adapter Developer can use the WCF LOB Adapter

Monday, July 09, 2007 2:23 AM by Developing adapters using WCF

# WCF LOB Adapter Usage Patterns

An adapter built using WCF LOB Adapter SDK can be used in variety of topologies and scenarios. Follow

Monday, July 09, 2007 1:34 PM by BizTalk Adapter Development

# Step by Step to add new WCF LOB Adapter to your .Net Solution

Background: After we downloaded WCF LOB Adapter SDK and read my previous post. You will find all the...

Monday, October 08, 2007 6:55 AM by Crash Course

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker