|
Home > Archive > BizTalk Server Orchestration > October 2004 > How can I split a message in more one?
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 can I split a message in more one?
|
|
|
| Hallo,
I receive a message, that contents periodic information,
f.e:
....
<Person>
<id>1</id>
<name>XY1</name>
...
</Person>
<Person>
<id>1</id>
<name>XY1</name>
...
</Person>
....
I would like to create so many new messages with the Person datas, how many
Person exists.
Can somebody help me?
Thanks!
| |
| Stephen W. Thomas 2004-10-27, 7:46 am |
| Hello.
I know of two different ways you can do it.
1. Use an Enveloper on the Receive Port to break up the message.
2. Use XPath inside your Orchestration to loop around each Person node and
either break it up into single messages or process each piece right there.
I have samples of both of these on my blog called XPath Sample and Xml
Envelope Debatching.
Another great resource is Darren Jeffords blog on Manual Message Splitting.
http://blogs.msdn.com/darrenj/archi.../30/222614.aspx
Stephen W. Thomas
http://www.geekswithblogs.net/sthomas
"Eva" wrote:
> Hallo,
> I receive a message, that contents periodic information,
> f.e:
> ...
> <Person>
> <id>1</id>
> <name>XY1</name>
> ...
> </Person>
> <Person>
> <id>1</id>
> <name>XY1</name>
> ...
> </Person>
> ...
> I would like to create so many new messages with the Person datas, how many
> Person exists.
> Can somebody help me?
> Thanks!
>
|
|
|
|
|