448 Data Integration (Flash Professional Only)
The following example shows a sample results packet for an update packet that has no errors
and contains no XML updates:
<results_packet nullValue="{_NULL_}" transID="46386292065:Wed Jun 25
15:52:34 GMT-0700 2003"/>
A sample results packet (with XML updates) follows:
<results_packet nullValue="{_NULL_}" transID="46386292065:Wed Jun 25
15:52:34 GMT-0700 2003">
<operation op="remove" id="11295627479" msg="The record could not be
found"/>
<operation op="update" id="02938027477">
<attribute name="id" curValue="105" msg="Invalid field value" />
</operation>
</results_packet>
The results packet can contain an unlimited number of operation nodes. Operation nodes
contain the results of operations from the update packet. Each operation node should have
the following attributes/child nodes:
■ op: An attribute describing the type of operation that was attempted. Must be insert,
delete, or update.
■ id: An attribute that holds the ID from the operation node that was sent out
■ msg (optional): An attribute containing a message string that describes the problem that
occurred when attempting the operation
■ field: 0, 1, or more child nodes that give field-level specific information. Each field node,
at a minimum, should have a
name attribute, which contains the field name, and a msg
attribute, which gives the field-level message. It can also optionally contain a
curValue
attribute, which holds the most up-to-date value for that field in that row on the server.
Server-side requirements for resolving data for
RDBMS
This section describes requirements that your server code must fulfill. It contains information
relevant for the server administrator who is handling server-side functions for your Flash
application. It contains the following topics:
■ Example of an RDMBSResolver component XML update packet
■ About receiving results from an external data source
In addition to the information in this section, see the DevNet article “Using the
RDBMSResolver to Update a Database” at www.macromedia.com/devnet/mx/flash/articles/
delta_packet.html.