Hi Abel,
BizTalk SQL Adapter doesn't sup****t output parameter of stored procedure.
Also it only handles stored procedures that return XML. So if the sp
cannot
be modified, a common solution is to create another sp to call this sp
with
output param and return the output in data field with select statement.
For the return code, it's just the same. You have to return it as XML data
i.e: using FOR XML AUTO, XMLDATA or FOR XML AUTO, ELEMENT .
For the error handling chapter, manually checking the return code from SQL
is an appropriate approach. You can also put the SQL Send into scope for
transaction and use catch exception block to handle errors returned from
the adapter.
Using Transactions and Handling Exceptions
http://msdn2.microsoft.com/en-us/library/aa578339.aspx
I hope the information helps.
Have a great day.
Sincerely,
WenJun Zhang
Microsoft Online Community Sup****t
==================================================
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup sup****t offering is for non-urgent issues
where an initial response from the community or a Microsoft Sup****t
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the sup****t
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Sup****t Engineer by contacting
Microsoft Customer Sup****t Services (CSS) at:
http://msdn.microsoft.com/subscriptions/sup****t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.


|