ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg 'Cosmo' Haun <GH...@cenquest.com>
Subject <httppost> works to submit SOAP
Date Thu, 12 Sep 2002 23:56:34 GMT
 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" <GHaun@cenquest.com>
To: "'Ant Users List'" <ant-user@jakarta.apache.org>
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message