Re: XML debatching (long)

Home Page Forums BizTalk 2004 – BizTalk 2010 XML debatching (long) Re: XML debatching (long)

#20942

NO!!! I spoke too soon!

I have the 3 files now, but they are void of any data.  Looks like i’m switching from beer to whiskey.

Edit: I’m hypothesizing that the reason there is no data is because i’m using the customerSchema as the envelope.  When it hits that Body XPath, it’s stripping all the data off.  So now I think I understand your original post about making your own envelope.  I’ll do some experimenting here.

Edit:  I think that hypothesis is wrong.  Because the envelope schema and the customerSchema have the same root node name, i was forced to change the target namespace.  I’m now thinking that the loss of data comes from the messages having a different target namespace.

Edit:  FINALLY KILLED IT! problem was in the orchestration.  Now only using 3 schemas:  customerSchema(which is now the envelope), documentSchema (customerSchema without the root node), and ourSchema.  All in the same namespace.  Final product is exactly what i needed.  <entry> node separated into it’s own file and able to be processed by the map.  I had to change the map in the orchestration to use the incoming schema: documentSchema rather than what it used to be: customerSchema.  Not sure if any of that makes sense.  It’s getting late here and i’m getting a little delirious.  But thought i would write it out in case anyone could find it useful.  Thanks again for the guidance!