BizTalk Server General - Unbatching of XML messages

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > July 2005 > Unbatching of XML messages





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 Unbatching of XML messages
Tom Fry

2005-07-26, 5:53 pm

I'm having a problem unbatching a document. The document contains repeating
records. So instead of BTS processing one large file, I want to break it up
into many small ones. I've been looking at many samples that do unbatching
of a large XML message into many smaller ones. I can't seem to find one (or
get my own to work) that deals with child records.

Here's the basic structure

<RootNode>
<Emp>
<Name>
<First>John</First>
<Last>Smith</Last>
<Name>
<Emp>
<Emp>
<Name>
<First>Billy</First>
<Last>Bob</Last>
<Name>
<Emp>
<RootNode>

Envelope looks like

EnvRoot
Record
<any>


I created a pipleline to use the envelope and schema. At run time I get an
error saying it can't resolve the schema. If I drop the <EMP> node it
processes correctly. Any suggestions out there?

Thanks

Stephen W. Thomas

2005-07-26, 5:53 pm

Hello.

Do you have the <EMP> schema deployed as a stand along schema as well as the
envelope?

Have you looked at this sample:
http://www.biztalkgurus.com/Samples...h-Pipeline.html

If that do not fix it, I could take a quick look at your solution. Just
email me the schemas and a sample file to swthomas@NOSPAMbiztalkgurus.com.
Just remove the NOSPAM part.

Hope this helps.

Stephen W. Thomas
http://www.biztalkgurus.com


"Tom Fry" wrote:

> I'm having a problem unbatching a document. The document contains repeating
> records. So instead of BTS processing one large file, I want to break it up
> into many small ones. I've been looking at many samples that do unbatching
> of a large XML message into many smaller ones. I can't seem to find one (or
> get my own to work) that deals with child records.
>
> Here's the basic structure
>
> <RootNode>
> <Emp>
> <Name>
> <First>John</First>
> <Last>Smith</Last>
> <Name>
> <Emp>
> <Emp>
> <Name>
> <First>Billy</First>
> <Last>Bob</Last>
> <Name>
> <Emp>
> <RootNode>
>
> Envelope looks like
>
> EnvRoot
> Record
> <any>
>
>
> I created a pipleline to use the envelope and schema. At run time I get an
> error saying it can't resolve the schema. If I drop the <EMP> node it
> processes correctly. Any suggestions out there?
>
> Thanks
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com