I'd like to make an HTTP request to a remote server and want to get reply back.
How can I connect to server and how to read the xml file response.
I'd like to make an HTTP request to a remote server and want to get reply back.
How can I connect to server and how to read the xml file response.
See http://www.w3schools.com/ajax/ajax_server.asp for a simple example
The easiest way to generate a request to a web server and get a response back is to use a web browser - if you know the URL of the web service that is supplying the XML data, just navigate to that URL in the browser. Note that this makes a few assumptions; for example, that the web service responds to GET requests (as opposed to POST, or other HTTP verbs). If you clarify the scenario some more, we can provide more detailed guidance.
You can try with a very simple test using telnet
telnet google.com 80
GET /path/to/file/index.html HTTP/1.0