Re: How to read and parse a remote XML file with Java



Thomas Armstrong wrote:
I'm not a Java programmer, and I only need a "hello world" sample

DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse((new URL(url)).openStream());

in
order to make a comparative table between Perl, PHP, Python and Java
with Web Services.

You don't do web services in Java like that, so I am very skeptical
about the outcome of your "comparison".

Arne
.