سؤال

Is there a way to use angularJS as SOAP client or develop ng SOAP client service?

هل كانت مفيدة؟

المحلول

Sure. All what you need this is implement SOAP call on JavaScript. For example Simplest SOAP example using Javascript

نصائح أخرى

In addition to that SO article from the main answer, you can probably use the $http service instead of using the XmlHttpRequest web API. The reason I would use $http instead is that it gives you promises and easier HTTP method handling out of the box.

Otherwise, this custom Angular $soap service posted on this SO, might give you what you want, which is also on Github.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top