Invoking WCF Service through Javascript

前端 未结 2 652
醉酒成梦
醉酒成梦 2021-01-07 06:38

How can I access the WCF Service through JavaScript? My problem is, I have to access the operation contracts through the JavaScript (my website is not Ajax enabled).
Pre

2条回答
  •  旧巷少年郎
    2021-01-07 06:42

    By using XMLHTTP you ARE using ajax.

    There's a full example here:

    jQuery AJAX calls to a WCF REST Service

提交回复
热议问题