November 23, 2001 - Webservice.htc's Public Interface
November 23, 2001 Webservice.htc's Public Interface Tips: November 2001
Yehuda Shiran, Ph.D.
|
webservice.htc
is the cornerstone for enabling Web service calls from JavaScript in Internet Explorer. This behavior is rather complicated. It consists of over 2000 lines, divided among more than 75 functions. In general, most of the interface to this behavior is done via its public properties, events, and methods, as defined in the PUBLIC:COMPONENT
element:
<PUBLIC:COMPONENT ID=_webservice Name="WEBSERVICE" >
<PUBLIC:PROPERTY NAME="version"
VALUE="Microsoft WebService Behavior 1.0.1.810" />
<PUBLIC:PROPERTY NAME="showProgress" VALUE=false />
<PUBLIC:METHOD NAME="useService"/>
<PUBLIC:METHOD NAME="createCallOptions"/>
<PUBLIC:METHOD NAME="createUseOptions"/>
<PUBLIC:METHOD NAME="invokeNext"/>
<PUBLIC:METHOD NAME="callService"/>
<PUBLIC:EVENT ID="eventResult" NAME="onresult"/>
<PUBLIC:EVENT ID="eventService" NAME="onserviceavailable"/>
</PUBLIC:COMPONENT>