BizTalk Server Orchestration - Dynamic port shape?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > December 2005 > Dynamic port shape?





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 Dynamic port shape?
b74smith

2005-12-07, 3:48 am

Hi,

I am trying to create a dynamic port on an orchestration to allow
passing in a filepath and sending to different loactions. The problem
is there doesn't seem to be a seperate dynamic port shape in the
toolbox, and the only availavle port shape doesn't seem to have any
properties that allow me to configure it to be dynamic.

If I use the standard port I get the following error on compilation

pCostOutCSV: property 'Microsoft.XLANGs.BaseTypes.Address' is read-only
for non-dynamic ports

and this is linked to the expression shape where I am setting the out
location
pCostOutCSV(Microsoft.XLANGs.BaseTypes.Address) =
msgCostReportIn.LocationCSV;


please forgive me if this is obvious - I am a biztalk newbie

Tomas Restrepo \(MVP\)

2005-12-07, 7:55 am

>
> I am trying to create a dynamic port on an orchestration to allow
> passing in a filepath and sending to different loactions. The problem
> is there doesn't seem to be a seperate dynamic port shape in the
> toolbox, and the only availavle port shape doesn't seem to have any
> properties that allow me to configure it to be dynamic.
>
> If I use the standard port I get the following error on compilation
>
> pCostOutCSV: property 'Microsoft.XLANGs.BaseTypes.Address' is read-only
> for non-dynamic ports
>
> and this is linked to the expression shape where I am setting the out
> location
> pCostOutCSV(Microsoft.XLANGs.BaseTypes.Address) =
> msgCostReportIn.LocationCSV;
>
>
> please forgive me if this is obvious - I am a biztalk newbie


The easiest way to create a dynamic port is by using the wizard: Just right
click on the port surface in the designer and select "Create new Configured
Port". Now, just on the third screen of the wizard (I believe), there should
be an option for making the port an early bound, late bound, direct bound,
or _dynamic_, if you selected it as a send only port.


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


b74smith

2005-12-07, 7:55 am

Thank you - seems to have solved my problem...

Actually I tried adding a new Configured Port as you suggested but in
the Port Binding setting there were only 3 options: Specify Now,
Specify Later, Direct.

However when I tried this on an existing port another option -
'Dynamic' had miraculously appeared! But this definatly doesn't appear
when you first create the port - either from the toolbox port shap or
by right clicking "Create new Configured Port" - I rechaecked both.
Seems strange - perhaps this is a quirk of my platform (I'm running on
BT04 on SQL2K?).

Anyway seems to work now - thanks for you help.

Tomas Restrepo \(MVP\)

2005-12-07, 5:55 pm

> Actually I tried adding a new Configured Port as you suggested but in
> the Port Binding setting there were only 3 options: Specify Now,
> Specify Later, Direct.


You have the direction wrong. the Dynamic option only appears if you first
change the port to be a "Send Port" by selecting the "I'll always be sending
messages on this port" option in the "Port direction of communication"
combobox. Dynamic ports are only valid for Send Ports, so it does not appear
as an option when you're creating a Receive port


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com