WebServiceConnector component (Flash Professional only)
The WebServiceConnector component lets you access remote methods exposed by a server using
the industry-standard Simple Object Access Protocol (SOAP). A web service method may accept
parameters and return a result. Using the Flash MX Professional 2004 authoring tool and the
WebServiceConnector component you can inspect, access, and bind data between a remote web
service and your Flash application.
A single instance of a WebServiceConnector component can be used to make multiple calls to the
same operation. You need to use a different instance of WebServiceConnector for each different
operation you want to call.
Note: The WebServiceConnector component appears on the Stage during application authoring but
is not visible in the runtime application.
For introductory information on working with the results of this component, see "Working with
schemas in the Schema tab (Flash Professional only)" in Using Flash.
Using the WebServiceConnector component (Flash Professional only)
You can use the WebServiceConnector component to connect to a web service and make the
properties of the web service available for binding to properties of UI components in your
application. To connect to a web service, you must first enter the URL for the WSDL file that
represents the web service. You can enter this URL in the Component inspector or the Web
Services panel. See "Connecting to web services with the WebService connector component
(Flash Professional only)" in Using Flash.
For more information on connecting to web services, see "Data binding (Flash Professional
only)"in Using Flash.
WebServiceConnector parameters
You can set the following authoring parameters for each WebServiceConnector component
instance by using the Parameters tab of the Component inspector:
multipleSimultaneousAllowed
place at the same time; the default value is false. If this parameter is
method does not perform a call if a call is already in progress. A status event is emitted, with the
code
CallAlreadyInProgress
operation
is a string indicating the name of an operation that appears within the SOAP port in a
WSDL file.
suppressInvalidCalls
invalid; the default value is
perform a call if the databound parameters fail the validation. A status event is emitted, with the
code
InvalidParams
required.
is a Boolean value that indicates whether multiple calls can take
. If this parameter is
is a Boolean value that indicates whether to suppress a call if parameters are
. If this parameter is
false
. If this parameter is
false
WebServiceConnector component (Flash Professional only)
Components Dictionary
false
, the call takes place.
true
, the
true
trigger()
, the call takes place, using the invalid data as
CHAPTER 6
, the
trigger()
method does not
865
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers