In the standard Java library we have the java.net package for doing this kind of thing. If your request succeeds you will get your XML as a InputStream suitable for parsing.
Bill
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
a bit of art, as a gift, the permaculture playing cards