RE: AIF: get a method return value from a contract class
[quote user="Martin Dráb"]For instance, I have no idea what you mean by the selected record.[/quote]
When the web-service is consumed and CustTable records are fetched, which record is, at that moment, being processed.
So, maybe out of Cust001, Cust002, Cust003, ...... Cust00n records, customer Cust009's address needs to be fetched.
[quote user="Martin Dráb"]If your goal is to return three customers with addresses, I would expect your service returning a list with three objects.[/quote]
No, the number of records returned would vary and depend on the filters (e.g. modified date range)
[quote user="Martin Dráb"]Also note that you may be able to use the query service instead of building a custom service.[/quote]
This will potentially risk exposing the data to unintentional users, and more proactive measures need to be taken to prohibit that from happening. I want to limit the scope of the service, at minimum number of steps, but that should not the part of discussion of this thread.
Regards,
Abhinay