User Guide
1413
56
CHAPTER 56
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 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 Description
WebService class (Flash
Professional only)
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.
PendingCall class (Flash
Professional only)
Object returned from a web service method call that you
implement to handle the call’s results and faults.
Log class (Flash
Professional only)
Optional object used to record activity related to a
WebService object.
SOAPCall class (Flash
Professional only)
Advanced class that contains information about the web service
operation, and provides control over certain behaviors.