File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes how to create web client to send  XML message to a given URL Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "how to create web client to send  XML message to a given URL" Watch "how to create web client to send  XML message to a given URL" New topic
Author

how to create web client to send XML message to a given URL

Rajani singh
Greenhorn

Joined: Apr 11, 2007
Posts: 1
Hello All,
Could anyone help me in writing the webclient which is sending the xml message to a given URL.Actually I have a message flow built on message broker to accept http message and process it.This is basically to test the http node functionality of message broker.

If you could provide the sample code,it will be useful.

Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35241
    
    7
Welcome to JavaRanch.

What kind of client (i.e., what API) are you looking for? A simple SAAJ client can be found here.


Android appsImageJ pluginsJava web charts
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12268
    
    1
If you client just needs to send a block of text that happens to be XML (as opposed to building XML with some API) and get back a block of text that just happens to be XML, you can use HttpURLConnection.

Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to create web client to send XML message to a given URL
 
Similar Threads
is SOA just mean use web service?
JMS Connect Exception
JMS Listener Port
JMS for file transfer
Message Broker