The purpose of the Add HTTP Service dialog box is to choose an XML data source. Flex applications can also access HTTP services as named services. A named HTTP service is defined in the flex-config.xml file in the application root folder on the Flex server (WEB-INF/flex/flex-config.xml). For more information, see "Declaring a data service" in Developing Flex Applications Help.
Typically the URL is to a file, as follows:
http://somesite.com/directory/myfile.xml
Other possibilities include ColdFusion, ASP.NET, JSP, or PHP pages that return XML documents.
You can also specify a servlet that returns an XML file based on request parameters, as follows:
http://somesite.com/servlet/GetInfo
Note: You must specify request parameters in the code. For more information, see "Parameter binding with HTTP services" in Developing Flex Applications Help.
The value is assigned to the url property of the <mx:HTTPService> tag.
The value is assigned to the serviceName property of the <mx:HTTPService> tag.
Note: The pop-up menu will list the named services only if you specified the correct application root folder when defining the site in Flex Builder. For more information, see Identifying a Flex application root folder.
Flex Builder adds the HTTP service to the Data panel indicating that a reference to the service has been inserted in the MXML file.