Javascript lib / jQuery plugin to interact with 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 f开发者_如何学编程or something which is tested and works good, among different browsers.
thanks in advance
best regards,
Fernando Gabrieli
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
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.
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.
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.
精彩评论