一聚教程网:一个值得你收藏的教程网站

热门教程

Calling WebServices using Javascript

时间:2022-07-02 23:27:05 编辑:袖梨 来源:一聚教程网

If you are using Microsoft IE 5 or later, you can use the behavior/HTML-Component "WebService" to access a Web service. The "WebService" behavior communicates with Web services over HTTP using Simple Object Access Protocol (SOAP).
To use the "WebService" behavior, you must attach it to an element using the STYLE attribute, as follows:
STYLE="behavior:url(webservice.htc)">

A complete example taken from the Microsoft Web site is as follows:







Enter a Value



style="behavior:url(webservice.htc)"
onresult="onmyresult();">




热门栏目