Hi,
I’m using BizTalk 2009 and SQL Server 2008.
What I need to do is to execute a query joining multiple DB tables e.g.
“SELECT * FROM CUSTOMER C INNER JOIN CUST_ADDRESS CA ON C.ID=CA.CID INNER JOIN CUST_PHONE CP ON C.ID= CP.CID”
and transforming it into a schema like:
<Cutomer>
<ID></ID>
<NAME></NAME>
<Address>
<street></street>
<City></City>
</Address>
…
</Customer>
When executing this query – using WCF SQL adapter – it will result in a flat (tabular) result set and the generated response schema will be flat
How can I map it to the structured schema and group the child records (e.g. address) under the corresponding customer record
Thanks,
Yusuf.