Talk About Network

Google





Software > Biz Talk Application Integration > RE: How to use ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 1213 of 1303
Post > Topic >>

RE: How to use SQL adapter if the calling sp has an OUTPUT parameter

by wjzhang@[EMAIL PROTECTED] ("WenJun Zhang[msft]") Feb 12, 2008 at 07:05 AM

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.
 




 4 Posts in Topic:
How to use SQL adapter if the calling sp has an OUTPUT parameter
=?Utf-8?B?QWJlbCBDaGFu?=   2008-02-11 10:17:00 
RE: How to use SQL adapter if the calling sp has an OUTPUT param
wjzhang@[EMAIL PROTECTED]  2008-02-12 07:05:25 
Re: How to use SQL adapter if the calling sp has an OUTPUT param
Jan Eliasen <eliasen@[  2008-02-12 14:53:41 
Re: How to use SQL adapter if the calling sp has an OUTPUT param
wjzhang@[EMAIL PROTECTED]  2008-02-20 09:08:54 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 22:40:02 PST 2009.