BizTalk Server Tutorial

BizTalk Server Concepts and Common Errors

Part 4: Adding new Adapters to ESB Itinerary

Default itinerary comes with few Adapters as below.

1

What if you want a new Adapter (for example HTTP, WCF-NetTCP etc.)? Solution is to create ESB Adapter Provider.
1. Create a simple class library and add a reference to add reference to “Microsoft.Practices.ESB.Adapter” in BizTalk ESB Toolkit Installation Folder\Bin

2

  1. Create a class extending the “BaseAdapterProvider” as shown below.

public class HttpAdapterProvider : BaseAdapterProvider

{

public override string AdapterName

{

get

{

return “HTTP”;

}

}

}

3

3. Sign the assembly, GAC the DLL.
4. Open esb.config file in the BizTalk ESB Toolkit Installation Folder and under “adapterProviders” add new configuration detail like below

4

5. Restart Visual Studio. Now you should be able to see the new Adapter.

5

In the same way you can extend “WCFBaseAdapterProvider” and create WCF based Adapters like below.
public class WebHttpAdapterProvider : WCFBaseAdapterProvider
{
public override string AdapterName
{
get
{
return “WCF-WebHttp”;
}
}
}
You can see my other post or more details.

– Shiv

December 18, 2014 - Posted by | General

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: