MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 307

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

The optional
when attempting the operation
Zero, one, or more
at a minimum, should have a
that gives the field-level message. It can also optionally contain a
the most current value for that field in that row on the server.
Update
nodes contain information about records that have been modified since the client was last
updated. Update nodes should have
uniquely identify the record that was deleted and that describe fields that were modified. Each
node should have the following attributes:
field
The
attribute holds the name of the field
name
The
oldValue
required only when the key attribute is included and set to
The
newValue
should not be included if the field was not modified (that is, the field has been included in the
list only because it is a key field).
The
attribute holds a Boolean
key
be used as a key to locate the corresponding record on the client. This attribute should be
included and set to
Delete
nodes contain information about records that have been deleted since the client was
updated. Delete nodes should have
uniquely identify the record that was deleted. Each
attribute, and a
oldValue
Insert
nodes contain information about records that have been added since the client was
updated. Insert nodes should have
when the record was added. Each
attribute.
Lazy decoding in the WebServiceConnector component
When the WebServiceConnector component receives multiple records of data from a web service,
it translates them into an ActionScript array so they are accessible within your application.
Translating multiple records of data from XML/SOAP into ActionScript native data can be a
time-consuming process; large data sets become large arrays, and can take seconds or tens of
seconds.
To improve performance, the WebServiceConnector component supports a feature called lazy
decoding, which defers this translation. With lazy decoding, result values that are arrays are not
immediately translated from XML to ActionScript. Instead, the result value passed to the user is a
special object that acts similarly to an array and translates the XML data only when it is requested.
The effect of this feature is to improve the perceived performance of web services by spreading the
workload over a longer period of time.
attribute contains a message string that describes the problem that occurred
msg
child nodes give field-level specific information. Each
field
attribute that contains the field name, and a
name
field
attribute holds the old value of the field before it was modified. This attribute is
attribute holds the new value that the field should be given. This attribute
true
for all key fields. It is optional for all others.
true
field
attribute whose value is set to
key
field
field
child nodes that list the fields that are necessary to
true
or
value that determines whether this field can
false
child nodes that list the fields that are necessary to
node must have a
field
true
child nodes that describe the field values that were set
node must have a
name
Advanced topics in data integration
field
msg
attribute that holds
curValue
.
attribute, an
name
.
attribute and a
newValue
node,
attribute
307

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents