12-22-04 12:46 PM
Brian, do you need to break the data received from SQL into seperate files?
If not, then you would not need to worry about envelopes, and you should
then be able to process the data through BizTalk in its entirety and produce
a flat file through the send pipeline for the entire set.
If you do want to utilise envelopes and you want to split the message
received from SQL, you need to set the Body XPath to the root node, as you
want to split on the dbo.SMSLog node. Think of the Body XPath as the XPath
that will yield a Node whose children will be split into seperate messages.
--
Kind Regards,
Nabeel Prior
Web: http://www.brainjar.co.za
Blog: http://www.brainjar.co.za/blog.aspx
"Brian C" <brian.cesafsky@midwestwireless.com> wrote in message
news:uiNbJv25EHA.2016@TK2MSFTNGP15.phx.gbl...
>I have a receive port that calls a stored proc that will return multiple
>rows. I need the output to be a flat file. I have everything working
>except I only get the first row that is returned from the stored proc (only
>1 row of output in the flat file). I've gone through an example of
>creating an envelope schema (the schema was first generated through the SQL
>adapter wizard), but I have issues. I'm not sure how to set the 'Body
>Xpath' and the 'Data Structure Type' properties. The 'Data Structure Type'
>property was set through the SQL adapter wizard, and I'm not sure if I
>should change it.
>
> I've attached the schema.
>
>
> Thanks in advace, Brian
>
>
>
[ Post a follow-up to this message ]
|