!--a11y-->
SAPClient Class 
SAPClient is the base class for .NET applications wishing to use SAP functionality. This class is maintained by the SAPConnectorGenerator custom tool and the SAPProxy wsdl metadata file. It should not be necessary to manually update it. SAP client proxies are instances of this class.
For a list of members of this type see SAPClient Methods.
|
[C#] Public class SAPClient: System.Web.Services.Protocols.SoapHttpClientProtocol |
In the SAP client solution, SAP is the server and the .NET application is the client that interacts with the RFC. When you generate an SAP client application, a WSDL file is added to your Visual Studio .NET project. This SAPWSDL file in coordination with a custom tool in Visual Studio creates several C# classes needed to communicate with the SAP system via either RFC or SOAP. There is one class for the proxy itself, one for each export parameter and two for each Table parameter in your RFC.
The SAP RFC is called as a method of the proxy object. There can be one or more RFC per proxy. For example you could have a proxy with all customer related RFCs in one library. The parameters for each RFC can be customized within the Visual Studio designer so that optional parameters can be removed, parameters can be renamed and default values provided. You can also customize SAP structures by renaming or removing fields.
Visual Studio developers can work with the SAP proxies in their choice of programming language. The proxies themselves are generated in C# so for projects written in other than C# you have to add a new project of type SAP Connector class to the Visual Studio solution.