4th Dimension 2003 and later support publishing methods as Web Services. A single method may often be called both locally within the database and remotely as a Web Service without any special coding or modifications. When called as Web Services, however, methods have greater flexibility in the data they return than when called locally by other 4th Dimension methods. Instead of being limited to the $0 result parameter, methods can return $0, and/or any number and combination of process variables and arrays. Returning multiple values with SOAP is comparable to returning a whole record instead of a single field. This technical note discusses how to return data through Web Services and what values may be returned. It also provides a sample database that illustrates 4th Dimensions features and behavior.
Download Complete Tech Note & Example: Windows | Mac