Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能告诉我如何在javascript中使用soap web服务。我想在phonegap中使用这个web服务(或)如何在phonegap中使用web服务。
对服务 URL 进行 AJAX 调用并管理回调的响应。
为简单起见使用 jQuery:
$.ajax({ url: yourSoapServiceUrl, success: function (soapResponse) { //Do whatever you need with soapResponse } });
编辑:添加了示例代码。