BizTalk Server Orchestration - Accessing custom adapter within orchestration

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > January 2005 > Accessing custom adapter within orchestration





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Accessing custom adapter within orchestration
Gavin G. Jones

2005-01-25, 8:47 pm

Hi,

I'm a BizTalk newbie.

I've followed the adapter creation guidelines/tutorials and have created a
custom adapter for accessing stored procedures.

It compiles okay and registers successfully in the BizTalk administrator and
everything seems okay thus far.

The problem I have is that when I create a receive port in the orchestration
designer I can't find my adapter in the transport drop down for solit
request/response even though the adapter is marked as such.

The tutorials go as far as the BizTalk Admin registration stage and then
suggest the adapter should be available to orchestration.

How do I access/use my custom adapter within orchestration?

Thanks in advance,
Gavin G. Jones


Bill Chesnut [BizTalk MVP]

2005-01-26, 7:47 am

Gavin,

Can you see your adapter in the BizTalk Explore when you create a receive
location?

In the orchestration designer, how are you trying to add your adapter,
specify now or specify later?

Bill

"Gavin G. Jones" <gavin@nospamgjit.com> wrote in message
news:OT%23qOszAFHA.608@TK2MSFTNGP15.phx.gbl...
Hi,

I'm a BizTalk newbie.

I've followed the adapter creation guidelines/tutorials and have created a
custom adapter for accessing stored procedures.

It compiles okay and registers successfully in the BizTalk administrator and
everything seems okay thus far.

The problem I have is that when I create a receive port in the orchestration
designer I can't find my adapter in the transport drop down for solit
request/response even though the adapter is marked as such.

The tutorials go as far as the BizTalk Admin registration stage and then
suggest the adapter should be available to orchestration.

How do I access/use my custom adapter within orchestration?

Thanks in advance,
Gavin G. Jones



Gavin G. Jones

2005-01-26, 7:47 am

Bill,

My adapter is a send first then receive type adapter, so I setup a send port
in BizTalk explore, which starts up fine. I just can't seem to bind to it -
see my steps in method 1.

I tried to do a specify now thorugh the Orchestration Designer - see Method
2.

What am I doing wrong?

Do you of any information about using custom adapters in the orchestration
designer?

Many thanks,
Gavin.


Method 1
--------
Via BizTalk explorer an a Static Solict-Response Port

Set name = portDAC
Set Transport Type = 'DAC' (My adapter)
Address URI = DAC:// (No end point parameters - eveything is in custom
message)
Send Pipeline XMLTransmit
Receive Pipeline XMLTransmit

Question here - my .NET component takes a string which is loaded into an XML
Document, am I using the correct pipeline?

In Visual Studio Orchestration Designer, create a specify later port and try
to bind to my portDAC which it can't see the only port I see to bind to is
None!!


Method 2
--------
In Visual Studio Orchestration Designer add a new port

Port name = portDAC2
Create a new port type
Communication pattern = request-response
Access - internal
Direction of coms - sending and receiving
Port binding - specify now
Set URI - DAC://
Transport - I only see HTTP no DAC!!!




"Bill Chesnut [BizTalk MVP]" <biztalkbill@gmail.com> wrote in message
news:ekU8ID5AFHA.2608@TK2MSFTNGP10.phx.gbl...
> Gavin,
>
> Can you see your adapter in the BizTalk Explore when you create a receive
> location?
>
> In the orchestration designer, how are you trying to add your adapter,
> specify now or specify later?
>
> Bill
>
> "Gavin G. Jones" <gavin@nospamgjit.com> wrote in message
> news:OT%23qOszAFHA.608@TK2MSFTNGP15.phx.gbl...
> Hi,
>
> I'm a BizTalk newbie.
>
> I've followed the adapter creation guidelines/tutorials and have created a
> custom adapter for accessing stored procedures.
>
> It compiles okay and registers successfully in the BizTalk administrator

and
> everything seems okay thus far.
>
> The problem I have is that when I create a receive port in the

orchestration
> designer I can't find my adapter in the transport drop down for solit
> request/response even though the adapter is marked as such.
>
> The tutorials go as far as the BizTalk Admin registration stage and then
> suggest the adapter should be available to orchestration.
>
> How do I access/use my custom adapter within orchestration?
>
> Thanks in advance,
> Gavin G. Jones
>
>
>



Bill Chesnut [BizTalk MVP]

2005-01-26, 8:47 pm

Gavin,

I built a dummy solict-response adapter with the adapter wizard and
installed it, I was able to create a send port with the adapter and built a
orchestration to use it via specify later and then deployed and bound the
port to the port with that adapter with no problems.

When you tried to bind your port was it in inbound or outbound section of
the port bindings property window? Mine was in the outbound, if yours was
not make sure in the port configuration (inside the orchestration designer)
that you have it set to send then receive.

When I tried specify now, the dummy adpater was not in the list, I will do a
bit more research and see why not.

hope this helps.

Bill

"Gavin G. Jones" <gavin@nospamgjit.com> wrote in message
news:O3ZTUg6AFHA.4004@tk2msftngp13.phx.gbl...
Bill,

My adapter is a send first then receive type adapter, so I setup a send port
in BizTalk explore, which starts up fine. I just can't seem to bind to it -
see my steps in method 1.

I tried to do a specify now thorugh the Orchestration Designer - see Method
2.

What am I doing wrong?

Do you of any information about using custom adapters in the orchestration
designer?

Many thanks,
Gavin.


Method 1
--------
Via BizTalk explorer an a Static Solict-Response Port

Set name = portDAC
Set Transport Type = 'DAC' (My adapter)
Address URI = DAC:// (No end point parameters - eveything is in custom
message)
Send Pipeline XMLTransmit
Receive Pipeline XMLTransmit

Question here - my .NET component takes a string which is loaded into an XML
Document, am I using the correct pipeline?

In Visual Studio Orchestration Designer, create a specify later port and try
to bind to my portDAC which it can't see the only port I see to bind to is
None!!


Method 2
--------
In Visual Studio Orchestration Designer add a new port

Port name = portDAC2
Create a new port type
Communication pattern = request-response
Access - internal
Direction of coms - sending and receiving
Port binding - specify now
Set URI - DAC://
Transport - I only see HTTP no DAC!!!




"Bill Chesnut [BizTalk MVP]" <biztalkbill@gmail.com> wrote in message
news:ekU8ID5AFHA.2608@TK2MSFTNGP10.phx.gbl...
> Gavin,
>
> Can you see your adapter in the BizTalk Explore when you create a receive
> location?
>
> In the orchestration designer, how are you trying to add your adapter,
> specify now or specify later?
>
> Bill
>
> "Gavin G. Jones" <gavin@nospamgjit.com> wrote in message
> news:OT%23qOszAFHA.608@TK2MSFTNGP15.phx.gbl...
> Hi,
>
> I'm a BizTalk newbie.
>
> I've followed the adapter creation guidelines/tutorials and have created a
> custom adapter for accessing stored procedures.
>
> It compiles okay and registers successfully in the BizTalk administrator

and
> everything seems okay thus far.
>
> The problem I have is that when I create a receive port in the

orchestration
> designer I can't find my adapter in the transport drop down for solit
> request/response even though the adapter is marked as such.
>
> The tutorials go as far as the BizTalk Admin registration stage and then
> suggest the adapter should be available to orchestration.
>
> How do I access/use my custom adapter within orchestration?
>
> Thanks in advance,
> Gavin G. Jones
>
>
>




Gavin G. Jones

2005-01-27, 5:49 pm

Bill,

After your success, I went right back to first principles.

Got the dummy solit-response adapter working through the "specify later"
route.

Then I added my custom adapter C# code and recompiled and it worked.

I fun real fun trying to uninstall the previous version from the BizTalk
Administrator's adapter dropdown. I found you just had to delete the
top-level registry key created as part of the wizard's .reg file.

I still couldn't get the adapter working through the "Specify Now" port
binder in the Orchestration Editor. There must be something missing from
the Adapter Wizard template project.

Please let me know if you get this one sorted.

Many thanks for your help on this on.

All the best,
Gavin.

"Bill Chesnut [BizTalk MVP]" <biztalkbill@gmail.com> wrote in message
news:O8q0XZABFHA.3120@TK2MSFTNGP12.phx.gbl...
> Gavin,
>
> I built a dummy solict-response adapter with the adapter wizard and
> installed it, I was able to create a send port with the adapter and built

a
> orchestration to use it via specify later and then deployed and bound the
> port to the port with that adapter with no problems.
>
> When you tried to bind your port was it in inbound or outbound section of
> the port bindings property window? Mine was in the outbound, if yours was
> not make sure in the port configuration (inside the orchestration

designer)
> that you have it set to send then receive.
>
> When I tried specify now, the dummy adpater was not in the list, I will do

a
> bit more research and see why not.
>
> hope this helps.
>
> Bill
>
> "Gavin G. Jones" <gavin@nospamgjit.com> wrote in message
> news:O3ZTUg6AFHA.4004@tk2msftngp13.phx.gbl...
> Bill,
>
> My adapter is a send first then receive type adapter, so I setup a send

port
> in BizTalk explore, which starts up fine. I just can't seem to bind to

it -
> see my steps in method 1.
>
> I tried to do a specify now thorugh the Orchestration Designer - see

Method
> 2.
>
> What am I doing wrong?
>
> Do you of any information about using custom adapters in the orchestration
> designer?
>
> Many thanks,
> Gavin.
>
>
> Method 1
> --------
> Via BizTalk explorer an a Static Solict-Response Port
>
> Set name = portDAC
> Set Transport Type = 'DAC' (My adapter)
> Address URI = DAC:// (No end point parameters - eveything is in custom
> message)
> Send Pipeline XMLTransmit
> Receive Pipeline XMLTransmit
>
> Question here - my .NET component takes a string which is loaded into an

XML
> Document, am I using the correct pipeline?
>
> In Visual Studio Orchestration Designer, create a specify later port and

try
> to bind to my portDAC which it can't see the only port I see to bind to is
> None!!
>
>
> Method 2
> --------
> In Visual Studio Orchestration Designer add a new port
>
> Port name = portDAC2
> Create a new port type
> Communication pattern = request-response
> Access - internal
> Direction of coms - sending and receiving
> Port binding - specify now
> Set URI - DAC://
> Transport - I only see HTTP no DAC!!!
>
>
>
>
> "Bill Chesnut [BizTalk MVP]" <biztalkbill@gmail.com> wrote in message
> news:ekU8ID5AFHA.2608@TK2MSFTNGP10.phx.gbl...
receive[vbcol=seagreen]
a[vbcol=seagreen]
> and
> orchestration
>
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com