var wsConn:WebServiceConnector = new WebServiceConnector();
wsConn.addEventListener("result", wscListener);
wsConn.addEventListener("send", wscListener);
wsConn.WSDLURL = "http://www.flash-mx.com/mm/tips/tips.cfc?wsdl";
wsConn.operation = "getTipByProduct";
wsConn.params = ["Flash"];
wsConn.suppressInvalidCalls = true;
wsConn.multipleSimultaneousAllowed = false;
wsConn.trigger();
WebServiceConnector.params
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
componentInstance.params
Description
Property; specifies data that will be sent to the server when the next
executed. The data type is determined by the WSDL description of the web service.
When you call web service methods, the data type of the
ActionScript object or array as follows:
If the web service is in document format, the data type of
If you use the Property inspector or Component inspector to set the WSDL URL and
operation while authoring, you can provide
order as required by the web service method, such as
Example
The following example sets the
wsc.params = [param_txt.text];
params
property for a web service component named
params
trigger()
property must be an
params
is an XML document.
params
as an array of parameters in the same
[1, "hello", 2432]
WebServiceConnector.params
operation is
.
:
wsc
1455
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers