|
Home > Archive > BizTalk Server Orchestration > April 2006 > Debatching xml with XPath
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 |
Debatching xml with XPath
|
|
| Mercurius.ter.Maximus@gmail.com 2006-04-01, 2:37 pm |
| Anyone have any hints on getting my first XPath orchestration fixed ?
I've followed a great tutorial on debatching xml files with XPath (
http://geekswithblogs.net/sthomas/a...7/12/46134.aspx ).
It almost works perfectly. From one input file I get 10 output files.
Except I never get the last piece/node of data out that I want, instead
the 10th file is a copy of the input file.
I've looked into it being an out-by-one issue, with no luck, and apart
from that I'm totally stuck.
| |
| Eric Stott 2006-04-01, 2:37 pm |
| I have an example of how to do this in this example:
http://www.stottcreations.com/blog/?p=33
Eric
<Mercurius.ter.Maximus@gmail.com> wrote in message
news:1143778896.447810.285610@u72g2000cwu.googlegroups.com...
> Anyone have any hints on getting my first XPath orchestration fixed ?
>
> I've followed a great tutorial on debatching xml files with XPath (
> http://geekswithblogs.net/sthomas/a...7/12/46134.aspx ).
>
> It almost works perfectly. From one input file I get 10 output files.
> Except I never get the last piece/node of data out that I want, instead
> the 10th file is a copy of the input file.
>
> I've looked into it being an out-by-one issue, with no luck, and apart
> from that I'm totally stuck.
>
| |
| Stephen W. Thomas 2006-04-01, 2:37 pm |
| Hello.
I think it’s a bug in my code that I never fixed. If I remember correctly,
I should use <= rather then just < in the loop. Something like that....
As far as getting the full message out… Are you using direct binding? Is
some other send port subscribing to the full message?
Stephen W. Thomas
http://www.biztalkgurus.com
http://geekswithblogs.net/sthomas/
"Mercurius.ter.Maximus@gmail.com" wrote:
> Anyone have any hints on getting my first XPath orchestration fixed ?
>
> I've followed a great tutorial on debatching xml files with XPath (
> http://geekswithblogs.net/sthomas/a...7/12/46134.aspx ).
>
> It almost works perfectly. From one input file I get 10 output files.
> Except I never get the last piece/node of data out that I want, instead
> the 10th file is a copy of the input file.
>
> I've looked into it being an out-by-one issue, with no luck, and apart
> from that I'm totally stuck.
>
>
| |
| Mercurius.ter.Maximus@gmail.com 2006-04-10, 7:32 pm |
| I had already tried <= instead of <, and setting nLoopCount to 0
instead of 1; both at the same time. That didn't fix it. Don't know
why, but terminating existing orchestration instances this time when
redeploying it for the hundredth time removed the "not getting the last
node" issue.
I disabled / stopped all send and recieve ports except the two for this
assembly, with no change to the "getting a copy of the input" issue.
| |
| Mercurius.ter.Maximus@gmail.com 2006-04-10, 7:32 pm |
| Removed the "getting a copy of the input" issue.
In Biztalk Explorer I found I additionally had a filter in the send
port referencing the recieve port.
Thank you for your help, everyone.
|
|
|
|
|