Re: Need help on Adapter Framework

From: Adam Tompkins (adam)
Date: 06/03/04


Date: Wed, 2 Jun 2004 22:19:05 -0600

My recommendation would be to take one of the SDK sample adapters and debug
it until you understand the basic process flow. Adapters generally break
down into three parts; the design-time component you see in BizTalk
Explorer, a receive component and a transmit component. You'll see that the
samples use a set of base classes which implement a lot of the
BizTalk-specific functionality. At this stage you can safely ignore these
classes and concentrate on the actual implementation which means that you
really just need to understand what the C# code is doing rather than having
to fully understand BizTalk at this stage.

When you have figured out how the sample adapter works you'll see that there
are really only a couple of places that you need to modify to talk directly
to TIBCO, so take the sample adapter projects and start modifying them to
suit your needs. Plan on refactoring your first attempt at least once and
you should end up with a working adapter.

To begin with, forget about the details and concentrate on getting the basic
receive and transmit code running. You can hardcode all the bindings to
start with and forget about implementing the 'add generated items' stuff
until later. I would suggest creating the code to connect to TIBCO in a
regular VS.NET project and get that all working first. Then you can just
build it into the adapter.

It isn't all that straightforward when you first look at it but after you
understand what the code is doing, things get a lot easier.

 - Adam

"Narasimha" <ngmujumdar@hotmail.com> wrote in message
news:FC15727A-9E71-4269-9994-4301898429CF@microsoft.com...
> Hi Adam,
>
> Thanks a lot for all the info. As i dont have any background on Biztalk, i
am finding it difficult to follow the samples. Can you tell me the approach
i should follow in detail.
>
> This is what i want to acheive:
> I have to write a custom adapter, which inturn listens to TIBCO messages,
so whenever the TIBCo message arrives, the workflow should be trigerred. i
have read through the much of theory regarding the cusotm adpaters, but
there is very no documentation which epxlains the code samples, :(
>
> So do tell me/mail me (ngmujumdar@hotmail.com) the apporach that i should
follow if it is possible for you
>
> Thanks in Adavance
> Narasimha G. M.
>
> ----- Adam Tompkins wrote: -----
>
> No, haven't used it - I just used the BTS SDK.
>
> There's not very much documentation out there. I know that more is
planned
> but it's not yet ready.
>
> As far as the error is concerned:
>
> When you add generated items to an orchestration, a service
organization
> tree is created from an XML file. BTS queries the design-time
component of
> the adapter and calls GetServiceOrganization to get the XML (which is
> typically an embedded resource). If no XML is returned then this
error
> occurs.
>
> Take a look at the design-time component of the SDK FileAdapter
sample. The
> XML file is named CategorySchema.xml. Presumably you need to find
the
> equivalent in the GOTDOTNET sample.
>
> - Adam
>
> "Narasimha" <ngmujumdar@hotmail.com> wrote in message
> news:5692C040-122F-4ECE-844A-EA972FFA00F7@microsoft.com...
> > Hi Adam,
> >> Thanks a lot, indeed i later downloaded the latest help and it
contained
> the section 'Developing Custom Adapter'.
> > I was trying to follow a simpler path, GotDotNet lists a project
called
> 'GenericAdapterFramework'. have you used it? or do you know someone
who has
> used it? I was trying to use that and When i say "Add generated
Items->Add
> Adpater, Select StaticGenericAdpater, pick a recieve location and
click
> Next". I get the following error :
> > "No service organiztaion tree. The adapter returned a null value".
> >> Do you have any info why this error can occur?
> >> I agree the msdn will be helpful for me, further do you have any
other
> resources on building custom adapters?
> >> Thanks in advance
> > Narasimha G. M.
> >>> ----- Adam Tompkins wrote: -----
> >> Have you read the BizTalk documentation?
> >> There's a complete topic named 'Developing Adapters Using the
Adapter
> > Framework' in the SDK section. Use that in conjunction with
SDK
> samples and
> > you should have enough information to write an adapter. It
certainly
> covers
> > all the points you mentioned.
> >> Make sure you have downloaded the very latest documentation
from the
> MS
> > website.
> >> - Adam
> >>> "Narasimha" <ngmujumdar@hotmail.com> wrote in message
> > news:2EE33ED1-4300-4DF5-9513-ECF4A0001CE5@microsoft.com...
> >> Hi,
> >>> I am novice in BizTalk 2004, I have to develop a custom adapter
> which
> > interacts with TIBCO Rendezvous.
> >> I was not able to find much documentation on Adapter Framework
> apart from
> > the samples. Can any one
> >> point me detailed documentation on:
> >> * How to write custom adapaters
> >> * How to build
> >> * And importantly how to deploy
> >>> So, **Apart from the sample, if there is any *detailed info on
> writing
> > custom adapters and deploying them*, please do send me/mail me
the
> info
> >>> You can contact me at:
> >> ngmujumdar@hotmail.com
> >>> Thanks in advance
> >> Narasimha G. M.
> >>



Relevant Pages

  • Re: Need help on Adapter Framework
    ... There's not very much documentation out there. ... Take a look at the design-time component of the SDK FileAdapter sample. ... XML file is named CategorySchema.xml. ... the section 'Developing Custom Adapter'. ...
    (microsoft.public.biztalk.general)
  • Re: Steps/approach for custom adapter development
    ... please start with the updated biztalk docs and sdk ... the sample "file" adapter in the SDK may help you out as well ... > I need to develop a custom adpater, the msdn help on "developing custom ...
    (microsoft.public.biztalk.general)
  • Re: Need help on Adapter Framework
    ... There's a complete topic named 'Developing Adapters Using the Adapter ... Framework' in the SDK section. ... Make sure you have downloaded the very latest documentation from the MS ...
    (microsoft.public.biztalk.general)
  • Re: Multiple Direct3D adapters - creating devices.
    ... the 8.1 SDK has the same sample. ... if you havent read on a subject, dont say things like "I should be able to ... > CreateDevicefor each adapter but this doesn't seem to work - I ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: How to publish message to MessageBoxDB from c# component
    ... > I want to send an xml file programmatically to the messagebox db from my ... >> Set up a receive port, use the adapter of you choice (for instance MSMQ ... >> You may also look at the submit direct sample in the SDK although I ... >> Yossi Dahan ...
    (microsoft.public.biztalk.general)