About Data Services - Adobe FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual

Migrating applications to flex 2
Table of Contents

Advertisement

CHAPTER 9
9
Data Services
This topic describes how to migrate HTTPService, WebService, and RemoteObject
components.
Contents
About Data Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Migrating HTTPService components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Migrating WebService components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Migrating secure data services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Mapping Java types for RemoteObject. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Accessing request/response data with RemoteObject . . . . . . . . . . . . . . . . . . . . . . . 152

About Data Services

Configuration of data service components, now called Remote Procedure Call (RPC)
components, in Flex has changed significantly in Adobe Flex 2.0. Adobe Flex Data Services
now refers to the server-side feature set that includes RPC services, the Message Service, and
the Data Management Service. Without Flex Data Services, you can use HTTPService and
WebService tags, but you can access resources only on a server that is in the same domain as
the Flex application or from a server that has a crossdomain.xml file installed on it. This file
must allow access to the requesting application's domain. For more information about
crossdomain.xml files, Chapter 4, "Applying Flex Security," in Building and Deploying Flex
Applications.
For more information on using RPC components, see Flex 2 Developer's Guide.
135

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents