我如何使用 android 的phonegap 调用网络服务
如何从我的 PhoneGap 应用程序发起 Web 服务调用?我发现了两个 javascript 库,一个来自 IBM,另一个来自 IvanWebService http://wiki。 phonegap.com/w/page/43725416/SOAP%20Web%20Service 允许您进行此类调用,但我无法让它们运行我的任何网络服务。我正在传递一个 wsdl 链接作为服务链接,并且我已经更新了信封参数,但仍然没有任何内容。
How do I make a webservice call from my phonegap app? I found two javascript libraries one from IBM and another IvanWebService http://wiki.phonegap.com/w/page/43725416/SOAP%20Web%20Service that allow you to make such calls but i couldnt get them to run any of my webservices. I am passing in a wsdl link as the service link and i have updated the envelope parameters, still nothing.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果是我,我会使用 jQuery。
http://www.bennadel.com/blog /1853-Posting-XML-SOAP-Requests-With-jQuery.htm
http://openlandscape.net/ 2009/09/25/call-soap-xm-web-services-with-jquery-ajax/
http:// /weblogs.asp.net/jan/archive/2009/04/09/calling-the-sharepoint-web-services-with-jquery.aspx
If it were me, I would use jQuery.
http://www.bennadel.com/blog/1853-Posting-XML-SOAP-Requests-With-jQuery.htm
http://openlandscape.net/2009/09/25/call-soap-xm-web-services-with-jquery-ajax/
http://weblogs.asp.net/jan/archive/2009/04/09/calling-the-sharepoint-web-services-with-jquery.aspx
调用上述方法的按钮:
Button to call the above method: