BizTalk Server General - Distinguished Properties

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > September 2004 > Distinguished Properties





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 Distinguished Properties
Mike

2004-09-23, 5:51 pm

Not all of my distinguised properties are showing up in the expression
editor. Is there a limitation on distinguished properties on different node
levels??

Here is an example:
<request>
<DBConnection>
<Database />
<User />
</DBConnection>
<CaseInformation>
<Product />
<Reason />
</CaseInformation>
</request>

I have promoted Database, User, Product, and Reason fields as distinguished
fields to be used in my orchestration. When using the expression shape, I
can access the DBConnection fields, but not the CaseInformation fields.

MessageName.Database and MessageName.User are valid, but
MessageName.Product, and MessageName.Reason create an error.

Is there anything I am overlooking?? Any help will be greatly appreciated!!


Thanks
Devdutt Patnaik

2004-09-23, 5:51 pm

Are you getting a runtime error or designtime one?
Do you see the erroneous properties with intellisense?
If its a runtime error, please verify the XPath associated with these fields
against the message body at the time of exception.

Regards
Dev

"Mike" <Mike@discussions.microsoft.com> wrote in message
news:8297CE24-69FF-4E75-B844-B1C57447C21C@microsoft.com...
> Not all of my distinguised properties are showing up in the expression
> editor. Is there a limitation on distinguished properties on different

node
> levels??
>
> Here is an example:
> <request>
> <DBConnection>
> <Database />
> <User />
> </DBConnection>
> <CaseInformation>
> <Product />
> <Reason />
> </CaseInformation>
> </request>
>
> I have promoted Database, User, Product, and Reason fields as

distinguished
> fields to be used in my orchestration. When using the expression shape, I
> can access the DBConnection fields, but not the CaseInformation fields.
>
> MessageName.Database and MessageName.User are valid, but
> MessageName.Product, and MessageName.Reason create an error.
>
> Is there anything I am overlooking?? Any help will be greatly

appreciated!!
>
>
> Thanks



Mike

2004-09-23, 5:51 pm

This is a designtime. When I try and build it, I get the error. I have the
red squigly underneath the property that isn't valid. In intellisence, I can
see .DBConnection.Database, but not .CaseInformation.Product (Sorry, I
mistyped on my first post). The XPATH is valid.

"Devdutt Patnaik" wrote:

> Are you getting a runtime error or designtime one?
> Do you see the erroneous properties with intellisense?
> If its a runtime error, please verify the XPath associated with these fields
> against the message body at the time of exception.
>
> Regards
> Dev
>
> "Mike" <Mike@discussions.microsoft.com> wrote in message
> news:8297CE24-69FF-4E75-B844-B1C57447C21C@microsoft.com...
> node
> distinguished
> appreciated!!
>
>
>

Devdutt Patnaik

2004-09-23, 5:51 pm

Did you try promoting them into Property Fields and see whether that gives
the same problem as Distinguished Fields?
Did you try demoting and re-promoting them?
Regards
Dev

"Mike" <Mike@discussions.microsoft.com> wrote in message
news:BF3B0971-142A-4AC0-B9AB-DD134676DF4C@microsoft.com...
> This is a designtime. When I try and build it, I get the error. I have

the
> red squigly underneath the property that isn't valid. In intellisence, I

can[vbcol=seagreen]
> see .DBConnection.Database, but not .CaseInformation.Product (Sorry, I
> mistyped on my first post). The XPATH is valid.
>
> "Devdutt Patnaik" wrote:
>
fields[vbcol=seagreen]
different[vbcol=seagreen]
shape, I[vbcol=seagreen]
fields.[vbcol=seagreen]


Mike

2004-09-23, 5:51 pm

Yes, I have redone the promotions many times. Maybe I'm wrong, but I am
working on the assumption that you use Promoted Properties for content based
routing, and Distinguised Properties are used in the orchestration flow.

Mike

"Devdutt Patnaik" wrote:

> Did you try promoting them into Property Fields and see whether that gives
> the same problem as Distinguished Fields?
> Did you try demoting and re-promoting them?
> Regards
> Dev
>
> "Mike" <Mike@discussions.microsoft.com> wrote in message
> news:BF3B0971-142A-4AC0-B9AB-DD134676DF4C@microsoft.com...
> the
> can
> fields
> different
> shape, I
> fields.
>
>
>

Danny Buysse

2004-09-23, 5:51 pm

Has "CaseInformation" a MaxOccurs of more than 1?

Danny.

"Mike" wrote:
[vbcol=seagreen]
> Yes, I have redone the promotions many times. Maybe I'm wrong, but I am
> working on the assumption that you use Promoted Properties for content based
> routing, and Distinguised Properties are used in the orchestration flow.
>
> Mike
>
> "Devdutt Patnaik" wrote:
>
Mike

2004-09-23, 5:51 pm

The CaseInformation Parent has no MinOccurs or MaxOccurs, but the child
elements, Product and Reason, have a MinOccurs of 0 and a MaxOccurs of 1.
Same with the DBConnection node.

"Danny Buysse" wrote:
[vbcol=seagreen]
> Has "CaseInformation" a MaxOccurs of more than 1?
>
> Danny.
>
> "Mike" wrote:
>
Mike

2004-09-24, 5:49 pm

I think I fixed my problem. For some reason it was not creating a property
tag at the top of my schema for the CaseInformation fields. I went in
manually and added the tags with the correct XPATH and am now able to
compile.

Thanks for all your help!!

Mike

"Mike" wrote:
[vbcol=seagreen]
> The CaseInformation Parent has no MinOccurs or MaxOccurs, but the child
> elements, Product and Reason, have a MinOccurs of 0 and a MaxOccurs of 1.
> Same with the DBConnection node.
>
> "Danny Buysse" wrote:
>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com