BizTalk Server Orchestration - How to use distinguished property in orchestration ?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > March 2004 > How to use distinguished property in 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 How to use distinguished property in orchestration ?
Sachin Surana

2004-02-08, 10:35 pm

How to use distinguished property in orchestration ?
I try to use it using MessageName(NameSpace.Propertyname)
but am not able to use it .
Brian Loesgen

2004-03-04, 8:35 pm

Distinguished properties are accessed with "." notation, ie:
MessageName.DistinguishedField

HTH,

Brian


"Sachin Surana" <anonymous@discussions.microsoft.com> wrote in message
news:ca5c01c3ef03$117693f0$a301280a@phx.gbl...
> How to use distinguished property in orchestration ?
> I try to use it using MessageName(NameSpace.Propertyname)
> but am not able to use it .



Chris

2004-03-06, 4:36 pm

Brian - I have an Orchestration with a dynamic port that
I'm trying to set via an expression, making use of a
distinguised property. The solution builds and deploys
(no syntax problems), but when I run, I get the following
error:
Object reference not set to an instance of an object.

My Expression is:
strContainerNumber=EmptyContainer.Container.ContainerNumber
;
myPort(Microsoft.XLANGs.BaseTypes.Address) = "file://c:/"
+ strContainerNumber + ".xml";

strContainer is an Orch variable.
EmptyContainer is a Orch message.
Container is the parent element to ContainerNumber in the
schema.
ContainerNumber is the promoted element.

Intellescence let me choose each of the values following
each . in the right hand side of the expression.

Any ideas?

Thanks,
Chris

>-----Original Message-----
>Distinguished properties are accessed with "." notation,

ie:
>MessageName.DistinguishedField
>
>HTH,
>
>Brian
>
>
>"Sachin Surana" <anonymous@discussions.microsoft.com>

wrote in message
>news:ca5c01c3ef03$117693f0$a301280a@phx.gbl...
(NameSpace.Propertyname)[color=darkred]
>
>
>.
>

Brian Loesgen

2004-03-11, 10:43 pm

Hmmm.... sounds like it should work.

Are you sure the EmptyContainer message has been constructed prior to you
trying to access it?

Brian
Neudesic

"Chris" <anonymous@discussions.microsoft.com> wrote in message
news:82c801c403c1$b5c36730$a001280a@phx.gbl...[color=darkred]
> Brian - I have an Orchestration with a dynamic port that
> I'm trying to set via an expression, making use of a
> distinguised property. The solution builds and deploys
> (no syntax problems), but when I run, I get the following
> error:
> Object reference not set to an instance of an object.
>
> My Expression is:
> strContainerNumber=EmptyContainer.Container.ContainerNumber
> ;
> myPort(Microsoft.XLANGs.BaseTypes.Address) = "file://c:/"
> + strContainerNumber + ".xml";
>
> strContainer is an Orch variable.
> EmptyContainer is a Orch message.
> Container is the parent element to ContainerNumber in the
> schema.
> ContainerNumber is the promoted element.
>
> Intellescence let me choose each of the values following
> each . in the right hand side of the expression.
>
> Any ideas?
>
> Thanks,
> Chris
>
> ie:
> wrote in message
> (NameSpace.Propertyname)


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com