User Guide
Web service classes (Flash Professional only) 859
Object types
Supported XML schema object elements
The following schema description illustrates the supported XML schema object elements:
schema
complexType
complexContent
restriction
sequence | simpleContent
restriction
element
complexType | simpleType
WebService security (Flash Professional only)
The methods and callbacks of the WebService class conform to the Flash Player security model.
User authentication and authorization The authentication and authorization rules are the
same for the WebService API as they are for any XML network operation from Flash. SOAP itself
does not specify any means of authentication and authorization. For example, when the
underlying HTTP transport returns an HTTP BASIC response in the HTTP headers, the
browser responds by presenting a dialog box and subsequently attaching the user’s input to the
HTTP headers in subsequent messages. This mechanism exists at a level lower than SOAP and is
part of the Flash HTTP authentication design.
Message integrity Message-level security involves the encryption of the SOAP messages
themselves, at a conceptual layer above the network packets on which the SOAP messages are
delivered.
Transport security The underlying network transport for Flash Player SOAP web services is
always HTTP
POST. Therefore, any means of security that can be applied at the Flash HTTP
transport layer—such as SSL—is supported through web services invocations from Flash. SSL/
HTTPS provides the most common form of transport security for SOAP messaging, and use of
HTTP BASIC authentication, coupled with SSL at the transport layer, is the most common form
of security for websites today.
Constructor for the WebService class
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
XML schema type ActionScript binding
Any
XML object
Complex Type
ActionScript object composed of properties of any supported type
Array
ActionScript array composed of any supported object or type