Dynamic Method Binding (.NET)
Dynamic Method Binding technology allows you to connect your Data Abstract client to to any custom defined remote service methods by providing dynamic mappings between client calls and the server methods.
More details about Dynamic Method Binding technology you can find here.
Suppose that, in order to read data from your service, you want to use a custom defined method called MyCustomGetDataMethod which takes two input parameters (DataTableNames of type string, and ParameterTwo of type Int32) and returns a Binary stream.
The RODL file included in your server would look somewhat similar to this:
In order for your client RemoteDataAdapter to invoke this method (instead of the default GetData), you will need to make use of Dynamic Method Binding and modify the value of its DataRequestCall's properties to point to this method.
The first thing you would do is query the remote service for all the available methods by opening the drop down associated with the DataRequestCall.MethodName:
After selecting the appropriate method, the IDE designers will update the parameters contained in the DataRequestCall.Parameters collection and inform you of that through a message similar to the following:
Now you can set the DataRequestCall.OutgoingTableNamesParameter and IncomingDataParameter to the appropriate values like show in the following screenshot:
Once these steps are complete, your RemoteDataAdapter is set up. Any subsequent calls to the Fill method will invoke your custom MyCustomGetDataMethod method on the server.
- Namespace Lists for .NET — Java
- Interface Lists for .NET — Delphi — Java
- Protocol Lists for Xcode
- Class Lists for .NET — Xcode — Delphi — Java
- Enum Lists for .NET — Xcode — Delphi — Java
- Alias Lists for Delphi
- Implements Lists for .NET — Xcode — Delphi — Java
- Data Types
- File Types