开发者

How make SOAP Request Cross-domain with JQuery

开发者 https://www.devze.com 2023-01-23 23:07 出处:网络
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.

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

精彩评论

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