用于与 SOAP 交互的 Javascript lib / jQuery 插件
- 您知道有什么好的 Javascript 库可以与 SOAP 交互吗?
- 您知道有什么好的 jQuery 插件可以与 SOAP 交互吗?
这是针对生产服务器的,所以我正在寻找在不同浏览器中经过测试且运行良好的东西。
预先感谢
最好的问候,
费尔南多·加布里埃利
- Do you know of a good Javascript library to interact with SOAP?
- Do you know of a good jQuery plugin to interact with SOAP?
This is for a production server, so i am looking for something which is tested and works good, among different browsers.
thanks in advance
best regards,
Fernando Gabrieli
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
有一个相对较新的插件可用:
http://plugins.jquery.com/soap/
我分叉了该项目,并一直在进行一些修改(该插件不处理我正在使用的服务)。我希望在某个时候合并我的更新,但很高兴收到任何反馈。
https://github.com/zachofalltrades/jquery.soap
there is a relatively new plugin available:
http://plugins.jquery.com/soap/
I forked the project, and have been working on some modifications (the plugin did not handle the service I was working with). I hope to get my updates merged at some point, but would be happy to have any feedback.
https://github.com/zachofalltrades/jquery.soap
不幸的是,这个空间中确实没有太多可用的:我过去见过的唯一一个是 http: //plugins.jquery.com/project/jqSOAPClient,已经有一段时间没有更新了。
让我知道这是否适合您。
There unfortunately is really not a lot available in that space: the only one I've seen in the past is http://plugins.jquery.com/project/jqSOAPClient, and it has not been updated for some time.
Let me know if that works for you.
我使用 apache cxf 生成专门用于调用 cxf 带注释的 Web 服务的 javascript 库在某一时刻。这或许是一种可能性。
不确定您打算如何部署它,但请记住跨域浏览器限制。
I used apache cxf to generate javascript libraries specifically to call cxf annotated web services at one point. That might be a possibility.
Not sure how you are planning on deploying this but keep the cross domain browser limitations in mind.
不幸的是,我认为正确的答案是:不要这样做。相反,创建一个服务器端 REST API,与您的 SOAP 服务对话并将其转换为 JSON。那么客户端就是个笑话。
Unfortunately, I think the correct answer is: don't do it. Instead, create a server side REST API that talks to your SOAP service and translates it to JSON. Then the client side is a joke.