Reputation: 1939
I'm trying to access a SOAP web service on another server using ajax but I'm getting an Access Control Allow Origin error. The web service returns XML so JSONP can't be used and the web service is also being used in another app so modifications is probably the last option. Any solutions?
Upvotes: 4
Views: 5129
Reputation: 1939
Found the probably most easiest way by using Ajaxpro 2, of course it's meant for .NET. http://www.ajaxpro.info/
otherwise, jfriend00's suggestions are the next best options.
Upvotes: 0
Reputation: 708166
If you can't do JSONP, then your options are:
Upvotes: 3
Reputation: 957
You can set up a server proxy at the domain of the page. This page would then call the soap web-service and give you back the response. This page can then be called via ajax from ui.
Upvotes: 1