BizTalk: Orchestration: Relationship of Receive port shape and Receive shape, Send port shape and Send shape

BizTalk: Orchestration: Relationship of Receive port shape and Receive shape, Send port shape and Send shape

I don't know would it be useful for somebody...
I'm constantly trying to understand the rules for different BizTalk tools.
For example, BizTalk Orchestration Designer:

Can I receive one message with the same type from different Receive port to one Receive shape?

 No.

 Pict.1

 

Can I receive the same message with the same type to several Receive shapes?

 Yes.

 Pict.2

 

Can I send the same message to the different Send ports?

 No.

 

Pict.3

 

Can I send the different messages with the same type to several Send ports?

Yes.

 Pict.4

Why there are these limits?

Quite obvious (??):

Inside Message Box the different messages with the same type transfered in the same manner. That's why for the messages with the same type permitted only one receive and one send endpoint.

Rule: "Links for the messages with the same type are always gathered in one received/send point on the port panel"

 

Try to link different Ports with the same message type with different Reseive shapes:

Pict.5.

We'v got an error #1:

...odx...: error X2214: you must specify at least one already-initialized correlation set for a non-activation receive that is on a non-selfcorrelating port
    : for example, mark the receive Activate property as True
    : or, mark the port Binding property as Direct and the Partner Orchestration Port as Self Correlating
    : or, check a correlation on the receive Following Correlation Sets property

Good.

If we've tried to mark (as recomended) the second Reseive shape with Activate property as True we got the different error #2:

...odx...: error X2071: an activatable receive must be the first executable statement in a service

ok. The second error message did not “correlate“ with first one. Sure, the error message #1 is not about my stupid changes :)

If I tried to mark the first Receive shape with “Initializing Correlation Sets“ and the second one with “Following  Correlation Sets“, (It's not so stupid) I've got the error #3:

...odx...: error X2259: in a sequential convoy receive the ports must be identical
    ...Accounting.odx(353,22): could be 'R_Schema1'
    ...Accounting.odx(357,13): or 'R_Schema1_2'

Excelent! That's mean “my“ rule works!

If you have comments, please, give me a feedback!
Regards,


Leonid Ganeline
BizTalk Developer
Print | posted on Friday, February 17, 2006 7:56 PM

Feedback

# re: BizTalk 2004: Orchestration: Relationship of Receive port shape and Receive shape, Send port shape and Send shape

left by LCO at 7/4/2006 6:09 AM Gravatar
Can I receive one message with the same type from different Receive port to one Receive shape?

No.
=> I think it is not correct. If you use a "Wait" Shape with 2 receive shapes, you can receive a message from different ports. I haven't try it for the the activation but it works fine during the run of an orchestration.

# re: BizTalk 2004: Orchestration: Relationship of Receive port shape and Receive shape, Send port shape and Send shape

left by rajani at 8/9/2006 8:02 PM Gravatar
Hi,
iam learning biztlak and i got the following error when iam trying to use two receive shapes in the same orchestation.
i got the error ...odx...: error X2259: in a sequential convoy receive the ports must be identical
can u please provide the solution

# re: BizTalk 2004: Orchestration: Relationship of Receive port shape and Receive shape, Send port shape and Send shape

left by Bruno Spinelli at 4/15/2007 8:09 PM Gravatar
Rajani,

It's just happening because you are initializing and following a correlation both in a receive shape. Try to initialize the correlation in a send shape and then follow the correlation using a receive shape.

I Hope it helps !

Bruno Spinelli.

# re: BizTalk 2004: Orchestration: Relationship of Receive port shape and Receive shape, Send port shape and Send shape

left by Anand at 7/25/2007 4:59 AM Gravatar
I want to call a webservice, inbetween the orchestration flow using the web port(request-response). But the webservice request does not require any parameters. So what should be the type of Message that i should give in the Send Shape, that will call the webport request.

# re: BizTalk: Orchestration: Relationship of Receive port shape and Receive shape, Send port shape and Send shape

left by Mohan at 1/6/2008 8:44 PM Gravatar
Hi,

I have two different message (flat file & xsd). I am using two receive ports to receive these messages. I am passing it to two different receive shapes(one is true) and sending it to send port(s), one for FF and one for xsd. I am getting errors mentioned earlier by others.
thanks

# re: BizTalk: Orchestration: Relationship of Receive port shape and Receive shape, Send port shape and Send shape

left by Nani at 3/10/2008 7:29 AM Gravatar
I am developing an orchestration i am having the same problem ,odx...: error X2071: an activatable receive must be the first executable statement in a service.
how do I go about it
And also if u have 3 schemas ,one its a source,2 Destination and 3 update,where should I use the 1st and 3rd schema in mt transform shape,and where should I use the 2nd and 3rd in my 2nd transform shape?
lastly How should i use message assignment

# re: BizTalk: Orchestration: Relationship of Receive port shape and Receive shape, Send port shape and Send shape

left by frederic at 5/7/2009 3:46 AM Gravatar
can you can have 2 recieve prot for the same orchestration and how i can do that thanks.

# re: BizTalk: Orchestration: Relationship of Receive port shape and Receive shape, Send port shape and Send shape

left by Vijay at 6/19/2010 2:54 AM Gravatar
Set Activate=True in Receive port property window, this will solve this error.
Post A Comment
Title:
Name:
Email:
Comment:
Verification: