CWebServiceAction serves for two purposes. On the one hand, it displays
the WSDL content specifying the Web service APIs. On the other hand, it
invokes the requested Web service API. A GET parameter named ws
is used to differentiate these two aspects: the existence of the GET parameter
indicates performing the latter action.

By default, CWebServiceAction will use the current controller as
the Web service provider. See CWsdlGenerator on how to declare
methods that can be remotely invoked.

See Also

the Web service provider object or class name.
If specified as a class name, it can be a path alias.
Defaults to null, meaning the current controller is used as the service provider.
If the provider implements the interface IWebServiceProvider,
it will be able to intercept the remote method invocation and perform
additional tasks (e.g. authentication, logging).

the initial property values for the CWebService object.
The array keys are property names of CWebService and the array values
are the corresponding property initial values.

serviceUrl
property

public string $serviceUrl;

the URL for the Web service. Defaults to null, meaning
the URL for this action is used to provide Web services.
In this case, a GET parameter named serviceVar will be used to
deteremine whether the current request is for WSDL or Web service.

serviceVar
property

public string $serviceVar;

the name of the GET parameter that differentiates a WSDL request
from a Web service request. If this GET parameter exists, the request is considered
as a Web service request; otherwise, it is a WSDL request. Defaults to 'ws'.

wsdlUrl
property

public string $wsdlUrl;

the URL for WSDL. Defaults to null, meaning
the URL for this action is used to serve WSDL document.