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
It is sorta covered in the
JavaRanch Style Guide
subject: XML over http
HTTPClient Vs java.net package
HTTPClient Vs java.net package --For posting XML document using HTTP
web service composition with owl-s and protege
Writing xml data to file from TCP port
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013