Answer the question
In order to leave comments, you need to log in
Cross-domain SOAP request from JavaScript
Given - a web application written in Java (developed by us) and a Windows service deployed locally on each client machine that listens on a specific port.
It is necessary to get the opportunity from JavaScript in the browser - to connect to the listening port of the local service and write / listen to responses within the SOAP protocol.
We don’t have the sources of the local service and no one will add it, so I’ll immediately clarify that CORSA and JSONP are no longer needed. The service was written in C# .NET + WCF.
I poked around with the flash layer in the browser, but it was not possible to start, everything that I googled is not able to add specific headers to the request, and SOAP needs the "SOAPAction" header.
How in general it is possible to solve this problem? =\
Answer the question
In order to leave comments, you need to log in
Probably too hasty with the question.
Once again I had a googling session and this https://github.com/flensed/flXHR started up.
Make a proxy on the same java, which will add the desired header to your response. (or did you mean javascript ??? ). If javascript - specify which application (chrome, webapp, etc.).
Without headers or a customized manifest - You won't be able to get data through either flash or javascript.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question