onserviceavailable Event

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Fires after the WebService behavior has attempted to obtain the Web Services Description Language (WSDL) from a Web Service.


Event Property WebService.onserviceavailable = handler;
attachEvent WebService.attachEvent( "onserviceavailable", handler);
Named script <SCRIPT FOR = WebService EVENT = onserviceavailable>

Event Information

Bubbles No
Cancels No
To invoke Run the useService method to request the WSDL from a Web Service.
Default action Initiates the script handler or callback function associated with the onserviceavailable event.


The following properties of the onserviceavailable event object are available.

  • serviceAvailable

    Used to verify that a Web Service is available and ready for remote method invocation

  • serviceUrl

    The URL of a Web Service

  • userName

    The sFriendlyName parameter that is passed to the useService method

  • WSDL

    The WSDL returned by the Web Service

Applies To


See Also

callService, useService, Using the WebService Behavior, onresult, About the WebService Behavior