User Guide

WebServiceConnector.params 1455
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 trigger() operation is
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
params property must be an
ActionScript object or array as follows:
If the web service is in document format, the data type of params is an XML document.
If you use the Property inspector or Component inspector to set the WSDL URL and
operation while authoring, you can provide
params as an array of parameters in the same
order as required by the web service method, such as
[1, "hello", 2432].
Example
The following example sets the params property for a web service component named wsc:
wsc.params = [param_txt.text];