使用Javascript的最简单的SOAP示例是什么?
为了尽可能有用,答案应该是:
我是一名经验丰富的Flex开发人员,正在学习AngularJS.这太令人困惑了!
无论如何,我试图通过SOAP WSDL请求对我的后端(在同一域)服务器进行服务调用,并使用AngularJS模型对象填充数据.我正在尝试使用Ajax但是在获取实际数据方面存在一些问题.我认为创建SOAP标记的方式有问题.我收到了成功的回复,但没有数据.
After not being able to figure out the Ajax method, I came across soapclient.js and found it to be extremely easy, with less code than Ajax. soapclient.js does most of the work for you, similar to the Ajax method, which makes much less code. Additionally, using soapclient.js I am able to make the SOAP call and also get data back the XML formatted response.
http://javascriptsoapclient.codeplex.com
My issue is that I am trying to use AngularJS to dump …