hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Gl├╝ck <...@odi.ch>
Subject Re: Sending XML files using HTTP Request/Response?
Date Wed, 09 Aug 2006 23:21:59 GMT

This is the developer mailing list, but your question is a typical user
question. You may get more detailed information on the user list:

Yes, HttpClient seems like the way to go. Have a look at this sample
code which is part of the example package:

The 10 minute scheduling is of course out of the scope of HttpClient.
But it's easy to do using for example the Timer class.



Veni Garg wrote:
> Hey !
> I am not sure if this is the right forum for this question, please redirect
> me if this is not.
> With that, here is a question ... from a novice really.
> We have a situation where we need to send an XML file from our server to
> another server..URL really (http:// abc.com/xyz.crspx). This URL expects
> this XML file, reads and sends us back a response (with success or error
> codes etc) which I need to write to a file and save. The XML file itself
> contains the authentication information which the remote server will use
> before it sends a response back.
> Is this something I should use HTTP Request/Response for. Can I do this in a
> batch mode where this program runs every 10 mts and picks up an XML file in
> a predetermined location and transmits it. Are there limitations to the size
> of the XML file.  I read that HTTPClient can help me do this.
> Any direction on how to proceed will be very helpful. Suggestions &
> resources are appreciated.
> Thanks much!
> V
> Veni Garg
> Sr. Programmer Analyst
> Data Select Systems Inc.
> Ph:  (805) 446-2090
> Fax: (805) 446-2089

To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org

View raw message