After inserting a Flex data service in the MXML file (see Inserting a Flex data service in the MXML file), you can bind it to a property of a component or data model in the file.
You must create one binding to retrieve data from the data service and a separate binding to pass data to the data service. In either case, you must create an event handler to call the data service.
This section covers the following topics: