on 09-14-2006 12:27 PM
Hi All,
I think most of you would have used the HTTP Client test tool which sends an XML document as a an HTTP payload to the integration server. I would like to write a stand alone Java application which could do this. Does somebody know of any java library which can create an HTTP request with a given payload and send it over the network to a specified URL?
Thanks,
Sandeep
Hi Sandeep,
You can achieve that using the URLCOnnection class of Java. It works fine (I have done reading, it should be simple for writing as well)
Check these links
http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html
http://www.javaworld.com/javaworld/javatips/jw-javatip42.html
Hope this helps
Regards
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.