Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8728289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:36:15+00:00 2026-06-13T08:36:15+00:00

I have a StoredProcedure that returns a simple table containing several records: DECLARE @STEPS_TABLE

  • 0

I have a StoredProcedure that returns a simple table containing several records:

DECLARE @STEPS_TABLE AS TABLE (OrchestrationID uniqueidentifier, [Message] nvarchar(1000));

— LOADING THE VALUES HERE

SELECT * FROM @STEPS_TABLE As Step FOR XML AUTO, XMLDATA, ELEMENTS

I used the SQL Transport Schema Generation Wizard to create my schema and could configure the port correctly. If I use this schema on my orchestration, it works perfectly. BizTalk starts one instance of the orchestration everytime the @STEPS_TABLE has more than 1 record.

Reading Microsoft technical documentation, they recommend to get several messages in one call and then use the XML pipeline to disassemble the multi-row BizTalk message into a single-row BizTalk message.

I haven’t used the XML pipeline before, so I tried the provided steps but couldn’t get it to work.

Could somebody provide me a link to a “how to” (didn’t find anything until now, after several hours of searching) or give me some hints to succeed.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T08:36:16+00:00Added an answer on June 13, 2026 at 8:36 am

    … some hours later I could figure it out myself. So if anybody comes across the same issue as me, here you have some guidelines to make it work on your environment.

    At the end I followed a different walkthrough from Microsoft and avoided the pipeline recommendation altogether. The documentation I found is called “Disassembling Result Sets Using the SQL Adapter” and does exactly what i was looking for. You can just follow the whole walkthrough from Microsoft but avoid the creation of the send port and make some little adjustment on the receive port.

    After following the technical document you will end up with two schemas, I will call them message and envelope (contains several messages) for the sake of this excercise. In your orchestration you can create a receiving port that maps to the message and then when you configure it as a SQL Port and you link it to your stored procedure (or select statement), you only have to change the Document Root Element Name to the envelope root name; the XML Receive pipeline (provided by default in BizTalk 2006) will do the magic of disassembling the messages contained in the envelope and instantiating an orchestration for each message.

    The Microsoft “Disassembling Result Sets Using the SQL Adapter” walkthrough can be found under:

    http://msdn.microsoft.com/en-us/library/aa562098(v=bts.20).aspx

    Mission accomplished 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple stored procedure that returns records: Select empID, EmpFirstName, EmpLastName from
Ok we have a simple udf that takes a XML integer list and returns
I have a table containing two columns in SQL that I want to extract
I have a simple question. Suppose I have a Stored Proceudre that returns a
I have a stored procedure that returns about 50000 records in 10sec using at
I have a stored procedure that returns data in the format of: Date |
I have a stored procedure that returns a result with 250!!! columns. But I
I have a MYSQL stored procedure SP1() that returns a result set. I want
I have the following iBatis mapping for an Oracle Stored Procedure that returns a
I have a stored procedure that takes no parameters, and it returns two fields.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.