Справочник Пользователя для Macromedia flex 2-migrating applications to flex 2

Скачать
Страница из 184
96
Flex Classes
mx.servicetags.RemoteObject
The RemoteObject class was moved to mx.rpc.remoting.RemoteObject. It now extends the 
mx.rpc.AbstractService class.
The following table describes changes to the RemoteObject class:
All RemoteObject sources need destination entries in the flex-services.xml file. You should 
now name every service and not use the actual source class as the name. All definitions of 
named RemoteObjects must be moved into the flex-services.xml file.
mx.servicetags.WebService
The following table describes changes to the WebService class:
The WebService class has the following changes:
The WebService class was moved to mx.rpc.soap.WebService. It now extends the 
mx.rpc.AbstractService class.
You must move the definitions of named services to the flex-services.xml file. The 
unnamed whitelist must be updated in the defaultHttp destination.
Member
Change description
encoding
Removed.
endpoint
Was removed. Channels defined in the flex-services.xml 
file replace the need for this property.
Has been added again to allow clients to use this tag 
without the configuration file at compile time.
named
Removed. Use the 
destination
 property.
protocol
Removed. Channels defined in the flex-services.xml file 
replace the need for this property.
source
Removed. Use the 
destination
 property.
type
Removed. This is now controlled in the service definition in 
the flex-services.xml file. You set it with the 
<source>
 tag.
Member
Change description
protocol
Deprecated. Use the 
destination
 property. For backward 
compatibility, the default value of the 
destination
 property 
is 
defaultHttps
.
serviceName
Deprecated. Use the 
destination
 property.