Java library to send a payload over HTTP
Hi All,
I want to create a stand alone Java application which should be able to send a payload(XML doc) over HTTP to a server (an Integration Server). Are there any APIs which can create this HTTP request given a payload and send it to a specified URL over the network.
This doesn't need to be a SOAP message, just an HTTP request with a payload. And this should be asynchronous too, ie no response is required from the server. Can this be specified in the QoS?
Any thoughts?
Thanks,
Sandeep
Hi, your idea seems to be interesting. I guess you have a web site, and you want to feed the Http request to a specific URI under the web site. This is nothing new, since WSDL supports HTTP Binding, you can use HTTP Binding to send your HTTP requests to the web site. As to the java library, I thinks JAXWS can do the job. you may turn to WSDL specification for further details about HTTP Binding. I didn't write something like this, but I think it is practical. And if you work it out, it would be very kind of you to tell me how you do it in details by sending me an email: zouzhile@gmail.com
Best Regards:)
@smile@
Thanks a lot smile, I shall definitely let you know if I do something. My idea is to send an XML payload over HTTP to an Integration server. This integration server can accept data over HTTP or SOAP and can talk to other applications (legacy etc) using a JCA based Adapter framework.
If you are interested I shall give you more info on this.
Regards,
Sandeep