A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
XML and Related Technologies
How to send the request and retrieve response
K Kiran Kumar
Joined: Jan 04, 2006
Jun 23, 2011 03:55:19
Can anyone suggest some API's for the following:
I have a sample URL (
), where in if I send a request to the server, the server will send the xml response.
My queries are:
(1) How to send the URL request by code (Not by
, but by core
(2) How to retrieve the XML data sent by the server in an object.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Jun 23, 2011 07:28:21
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
suitable for parsing.
I agree. Here's the link:
subject: How to send the request and retrieve response
How and where to use xml
Data transfer between Servlet and JSP
send SOAP Request without Response
Servlet & XML Request-Response
Do I need a separate Web Client?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014