| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Can cURL only POST for SOAP?
From: Christopher Bland <themanatuf_at_juno.com>
Date: Wed, 7 Jun 2006 18:58:20 GMT
The code is very simple, I just grabbed it from the web.
CURL *curl;
curl = curl_easy_init();
curl_easy_setopt(curl, CURLOPT_POST, 1);
curl_easy_setopt(curl, CURLOPT_PORT, "50927");
curl_easy_cleanup(curl);
I send the XML no problem and the server receives it no problem. However it appears curl_easy_perform blocks until it receives something back from the SOAP server. In my particular case I'm sending the server some info that I want it to validate without having to respond to curl.
I was then hoping to get the program to continue so that I could send something else to the server. I have a loop and I don't want to wait for the server's response. I just want to keep sending.
From what I've read this doesn't seem possible. I think I might just send back some dummy ACK message to allow my app to keep looping.
If there are any other thoughts I'm open to criticism. Thanks for the help.
________________________________________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info