I am trying to make a request to the following wsdl web service through javascript (using a POST request):
http://www.webservicex.net/stockquote.asmx?
I have tried many different things and I cannot get the answer. On this stackoverflow question, the most voted answer (eventhough is not the selected one) gives a code that I combined with the most voted one (to execute the code once a button is pressed) but xmlhttp.status is always 0 and the xmlhttp.responseText is empty.
All I did was copy the code, add the button to be clicked, and upload it to a server. Is there some step that I am missing? How could I get the web service request working?