Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Attempting to develop my first Custom Adapter
- This topic has 2 replies, 1 voice, and was last updated 9 years, 5 months ago by
community-content.
-
AuthorPosts
-
-
February 27, 2006 at 8:35 PM #12988
Adapter development lacks one basic thing… Having samples around is good, of course, but what about tutorials? I’d found a couple of nice documents about how to develop my own adapter, but I find it really hard to start, as I don’t know how to 🙁 I mean, I open the BaseAdapter project for example, I see dozens of files and I just don’t get how everything fits together. Same case with the different samples, many files and very few comments make everything quite confusing.
I’d read Biztalk help, \”Writing Effective BizTalk Server Adapters\” & \”Microsoft Biztalk 2004 Adapters: A Developer’s Guide\” yet I find myself nowhere closer to being able to start developing.
Another problem is that I hadn’t found any documentation about changes between developing adapters for 2004 and 2006, so I don’t know if what I end up writing based on 2004 information around the net will work on my 2006 Beta2 server.
Can anyone help me getting started?
Thanks a lot!
-
February 28, 2006 at 8:22 PM #12989
A good place to start is the Adapter wizard, this uses the BaseAdapter and creates a project for your custom adapter. It is specific for Biztalk 2004
[url]http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=D3AC121C-8963-4735-B5E1-FC83B02F57C1[/url]
Any adapter written for Biztalk 2004 should be binary compatible with Biztalk 2006. This is the case with the one adapter I have written.
There are minor changes in the BaseAdapter classes in Biztalk 2006. And the use of VS 2005 and .NET2.0 mean any adapter written specifically for Biztalk 2006 will not be backward compatible with Biztalk 2004 without lots of extra work.
-
March 2, 2006 at 3:51 PM #12990
Hi,
the link greg gave you got me started with adapter development. I was in the same situation, didn’t even know where to start. Once you check out the sample of the TcpAdapter that Greg’s link provides, you’ll get a better understand.
There’s nothing extraordinary about the adapters. The receive adapter portion just makes calls to biztalk api’s in order to submit message into biztalk. The transmit adapter is run by the biztalk server, once it receive a message it places the Message(workitem) on a queue and they get procesed by the threadpool.
The Wizard will create all the necessary code for you. All you have to do is edit around 2-3 methods.
When you are ready to test the adapter make sure you GAC it or you will get no where. The biztalk will complain about not being able to find the assembly.
If you have any questions I’ll be happy to answer
Gino
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.