File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
XML over http
Joined: Jul 17, 2001
Jun 03, 2004 11:56:00
My module is supposed to talk with an external system.
API specs tells input XML data can be posted to link
and HTTPResponse body contains output data in XML format.
Please let me know how to handle this using
Like i want to know how to post XML document to URL and how to retrieve output XML document from resultant HTTP response.
Joined: Jan 23, 2002
Jun 03, 2004 13:29:00
You could use the
Jakarta Commons HttpClient
, which is a very useful library for HTTP networking in Java. Another, perfectly valid option, would be to write your own "HTTP POST sender" by Googling for some samples.
Effective Unit Testing
I agree. Here's the link:
subject: XML over http
HTTPClient Vs java.net package --For posting XML document using HTTP
HTTPClient Vs java.net package
Writing xml data to file from TCP port
web service composition with owl-s and protege
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014