Role Links Session 2

A question was asked after reading this article: At what point is the Party resolved to the actual Party. I ran my example again, and put a breakpoint at the send port and these are my findings:

After the Destination Role Link has been set, here are the settings:

Here is the details of the actual message:

Notice that the ParyName is empty so it has not resolved the Party name.

I sent the message (but the send port is in the stopped state) and here are the message properties:

So it looks like  the resolution of Parties happens actually once the message gets submitted back to the message box after the orchestration is complete for the message to find out which party the message is associated with.

My biggest question is if there is a way to associate the Alias name (Party1) instead of the Organization Value (EDI:\\123456789:ZZ:123456789), the programmers reference really is not that descriptive to explain what is really going on. As soon as I learn more, I will put it here.

Update: The easiest way to associate with the alias name is to refer to the OrganizationName instead of EDI, in the code as such

Destination(Microsoft.XLANGs.BaseTypes.DestinationParty)=
new Microsoft.XLANGs.BaseTypes.Party("Party1","OrganizationName");

It is the default lookup value:

posted @ Wednesday, November 08, 2006 12:00 PM

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
Please add 8 and 6 and type the answer here:
 

Live Comment Preview:

 
«March»
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910