Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

WCF SAP Adapter behavior


Summary

The WCF SAP Adapter only returns the tables specifically requested.

When using a WCF proxy, the generated proxy contains table ref/InOut parameters. If a null value is passed, it will not return any data. If a row in a particular table is needed, pass in an empty table and specify new array[0] instead of null. 

If you're sending messages using the channel model instead of using a .NET proxy (for example, in BizTalk) - if the table node is missing from the input XML, we interpret that as if you're not interested in that table. If you do want the rows from that table in the response message, you should pass in the node in the input XML (0 rows, just the starting and ending parameter tag).

↑ Back to the top


More Information

The behavior was implemented to optimize the WCF SAP Adapter, returning only the tables which are specifically requested.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2879053
Revision : 1
Created on : 1/7/2017
Published on : 9/11/2013
Exists online : False
Views : 78