开发者

How make SOAP Request Cross-domain with JQuery

Does anybody know how make a SOAP Request that support cross-domain with JQuery. I searched for it, but I did find a clearly example about 开发者_如何学Pythonhow do it. Thanks.


You can't do this, only JSONP is allowed cross-domain. You'll have to proxy the request through your own domain if you want a SOAP request.

To be a little clearer on this, the only way JSONP gets around this is the restrictions on what you can do, it creates a <script> tag that goes a GET to fetch your data, and runs a JavaScript function already defined in the page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜