keyongtech


  keyongtech > biztalk.* > biztalk.general

 #1  
02-06-10, 06:01 PM
amit chaudhary
Hi all,

First of all thanks for reading my post.

I am working on a scenario where one message may split in many
messages based on certain condition i.e. as shown below, input message
has 3 LPAN records. As per the business logic it may be that in output
message, there will be 5 LPAN records or may be 7 LPAN records. It
does depend upon data.

Input Message:
<LPANS>
<LPAN>
</LPAN>
<LPAN>
</LPAN>
<LPAN>
</LPAN>
<LPANS>

I am bit confused how to implement it. I suppose I will have to first
generate individual LPAN and then add the same in output message.
Could any of you please suggest me what is the best practice to
implement above scenario? How to add LPAN record in message
dynamically?

Thanks in advance.

Regards
Amit Kumar
 #2  
02-07-10, 03:07 PM
NISHIL
Amit,
You can loop through each LPAN in Input Message and construct the whole Xml
in a string variable.
Load the string variable in a Xml document object.
Assign the XML document object to the Output message and send the message out.
 #3  
02-08-10, 06:14 AM
amit chaudhary
Hi Nishil,

Thanks for reply.
Can't we define a collection in orchestration and add the record in
same?

Regards
Amit Kumar

On Feb 7, 8:07 pm, NISHIL <nis> wrote:
[..]
 #4  
02-09-10, 01:41 PM
Michel Prévost
On Feb 8, 1:14 am, amit chaudhary <amit1> wrote:
[..]
>>
>>
>>

> - Show quoted text -


You can use the classes from the System.Collections namespace. The
only restriction is that the class must be serializable (I think all
collections are).
Similar Threads
Serialized orchestration instance during deployment new version of orchestration.

Hi All, I have scenario where orchestration has a long running transaction that some times takes 15 day to complete. I have developed the orchestration and orchestration is...

Informing an orchestration when a batch orchestration job has completed

Hi all, I have an orchestration that processes a flat file. The flat file schema breaks the interchange into individual messages. Once all of the parts have been processed I...

Informing an orchestration when a batch orchestration job has completed

Hi all, I have an orchestration that processes a flat file. The flat file schema breaks the interchange into individual messages. Once all of the parts have been processed I...

Direct Binding from orchestration to a new instance of the same orchestration

Hello, We have an orchestration (lets call it "RunOrch") which constructs a message, promotes some property by given parameters and sends it to the messagebox with direct...

Orchestration shapes missing in Orchestration Toolbox

Hi! Just started working in BTS2006, and when I was going to do compose the first orchestration, the Orchestration toolbox was empty... apart from *group* and...


All times are GMT. The time now is 12:00 AM. | Privacy Policy