This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.
Indicates whether the Web Services Description Language (WSDL) information was returned successfully from an invocation of the useService method.
HTML N/A Scripting [ eventserviceAvailable = ] event.serviceAvailable
event A scripting object generated by an instance of the onserviceavailable event. serviceAvailable A Boolean indicating whether the WebService behavior obtained WSDL from the Web Service.
- The Web Service returned the WSDL successfully to the WebService behavior.
- The Web Service is not available, or another type of error occurred.
The property is read-only. The property has no default value.
Use this property with client-side script to verify that a Web Service is available and ready for remote method invocation. A successful return of the WSDL from a Web Service implies that the WebService behavior has all the necessary information for remote method invocation to proceed.
An unsuccessful attempt to obtain the WSDL from a Web Service can occur for several reasons, for example, problems with the network connection or with the Web Service. If you encounter problems when you attempt to obtain the WSDL, investigate the Web Service that is called. An attempt to invoke the WSDL manually indicates whether the Web Service is responding properly; this can be accomplished by navigating to the URL of the Web Service with a browser.
If this property is false. then the WSDL property of the same onserviceavailable event object is null, because WSDL was not returned to the WebService behavior by the Web Service.