I was pleased to find that the <httppost> task works "out of the box" to
submit SOAP requests. E.g.
<httppost url="http://api.google.com/search/beta2"
dest="out/Googleresult.xml"
uploadFile="googlerequest.xml"
contentType="text/xml"/>
where googlerequest.xml is one the soap-samples in the googleapi kit (with a
google user-key inserted).
I hope someone has the expertise to fix up this task for reinsertion into
the main tree.
-----Original Message-----
From: Steve Loughran
To: Ant Users List
Sent: 9/12/02 11:14 AM
Subject: Re: HTTP post task
----- Original Message -----
From: "Greg 'Cosmo' Haun" <[EMAIL PROTECTED]>
To: "'Ant Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, September 11, 2002 4:30 PM
Subject: HTTP post task
> I've used the Get task to perform an HTTP GET and I've used the Telnet
task
> to perform an HTTP POST (ignoring the return), but how do I do an HTTP
POST
> and capture the returned document?
>
> Is there a Post task around? I couln't find one.
>
if you get ant's CVS there is an http post task <httppost> in
proposals/sandbox/httptasks. It isnt in the main core as I encountered
so
many issues with the base java http client stuff that I'm holding it
back
until someone moves it up to use the jakarta-commons httpclient code
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>