Web Service Classes (Flash Professional Only) - MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual

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

Advertisement

Web service classes (Flash Professional only)

The web service classes, which are found in the mx.services package, let you access web services
that use Simple Object Access Protocol (SOAP). This API is not the same as the
WebServiceConnector component API. The web service API is a set of classes that can you use
only in ActionScript code, and is common to various Macromedia products. In contrast, the
WebServiceConnector component is an API unique to Flash MX Professional 2004 and provides
an ActionScript interface to the visual WebServiceConnector component.
The following table lists the classes in the mx.services package. These classes are closely integrated,
so when first learning about this package, you may want to read the information in the order in
which it is presented in the table.
Class
WebService class (Flash
Professional only)
PendingCall class (Flash
Professional only)
Log class (Flash
Professional only)
SOAPCall class (Flash
Professional only)
Making web service classes available at runtime (Flash Professional only)
In order to make the web service classes available at runtime, the WebServiceConnector
component must be in your FLA file's library. This component contains the runtime classes that
let you work with web services. For details on adding these classes to your FLA file, see
Chapter 14, "Data Integration (Flash Professional Only)," in Using Flash.
Note: These classes are automatically made available to your Flash document when you add a
WebServiceConnector component to your FLA.
Log class (Flash Professional only)
ActionScript Class Name
The Log class is part of the mx.services package and is intended to be used with the WebService
class. For an overview of the classes in the mx.services package, see
Professional only)" on page
You can create a new Log object to record activity related to a WebService object. To execute code
when messages are sent to a Log object, use the
file; the logging mechanism is whatever you have used in the
sending the log messages to a
The constructor for this class creates a Log object that can be passed as an optional parameter to
the WebService constructor (see
842
Chapter 6: Components Dictionary
Description
Using a Web Service Definition Language (WSDL) file that defines the
web service, constructs a new WebService object for calling web
service methods and handling callbacks from the web service.
Object returned from a web service method call that you implement to
handle the call's results and faults.
Optional object used to record activity related to a WebService object.
Advanced class that contains information about the web service
operation, and provides control over certain behaviors.
mx.services.Log
842.
Log.onLog()
statement.
trace()
"WebService class (Flash Professional only)" on page
CHAPTER 6
Components Dictionary
"Web service classes (Flash
callback function. There is no log
callback function, such as
onLog()
856).

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents