User Guide
1444 Web service classes (Flash Professional only)
Description
Function; when you create a new WebService object, it contains the methods corresponding
to operations in the WSDL URL you pass in. Behind the scenes, a SOAPCall object is created
for each operation in the WSDL as well. The SOAPCall object is the descriptor of the
operation, and as such contains all the information about that operation (how the XML
should look on the network, the operation style, and so on). It also provides control over
certain behaviors. You can get the SOAPCall object for a given operation by using the
getCall() method. There is a single SOAPCall object for each operation, shared by all active
calls to that operation. Once you have the SOAPCall object, you can change the operator
descriptor by using the SOAPCall class; see “SOAPCall class (Flash Professional only)”
on page 1434.
WebService.myMethodName()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
callbackObj = myWebServiceObject.myMethodName(param1, ... paramN);
Parameters
param1, ... paramN Various parameters, depending on the web service method that
is called.
Returns
A PendingCall object to which you can attach a function for handling results and errors on
the invocation. For more information, see “PendingCall class (Flash Professional only)”
on page 1423.