aspose file tools*
The moose likes XML and Related Technologies and the fly likes XML over HTTP / JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML over HTTP / JMS" Watch "XML over HTTP / JMS" New topic


Nishant Modak

Joined: Sep 29, 2006
Posts: 27
I need to post a XML request to a server over HTTP.

how can I do that?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39547
Do you mean from a Java client? If so, the Jakarta HttpClient library can do that. Or, even simpler, use the HttpURLConnection class:

I'm not sure what JMS has to do with this; maybe you can elaborate on that.

Ping & DNS - updated with new look and Ping home screen widget
Nishant Modak

Joined: Sep 29, 2006
Posts: 27
Yes. I wrote the code using URLConnection just now.. . Its working fine.

Thanks for the reply!

I also wanted to send XML over, JMS .. but that is a differnt way entirely.

writing that code using javax.jms.*;
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: XML over HTTP / JMS
Similar Threads
beginner DTD question
question about XML ?
C++ SAX2 Parser Help!!!
Passing Information Between Web Applications (Alternative to Web Services)
REST, XML over HTTP, Web Services?