calling a simple WCF Service from jQuery

后端 未结 3 1889
臣服心动
臣服心动 2021-01-03 03:49

I have a very simple WCF Service called pilltrkr.svc. I\'m trying to call this service from jQuery via the following code:

    var jsondata = JSON.stringif         


        
3条回答
  •  庸人自扰
    2021-01-03 03:52

    Probably a bit late, but I wrote a couple of blog posts a few years ago about calling WCF from jQuery. This also covers fault handling - which many articles ignore.

    Part one and Part two.

    HTH

    Iain

提交回复
热议问题