RE: xml post
Status: Alpha
Brought to you by:
coroberti
From: Matt L. <mat...@av...> - 2008-10-31 08:49:04
|
Thank you for your suggestion. I tried using the MULTIPART_FORM_DATA tag as described below, but ran into the following error: RUNNING LOAD setup_curl_handle_appl - error: post_data is NULL. setup_curl_handle_init - error: setup_curl_handle_appl () failed . setup_url error: setup_curl_handle_init - failed add_loading_clients error: load_next_step() initial failed init_timers_and_add_initial_clients_to_load error: add_loading_clients () failed. user_activity_hyper - error: init_timers_and_add_initial_clients_to_load () failed. batch_function - "nomadeskpoll" -user activity failed. Exited batch_function My xml file, poll2.xml resides in the same dir as curl-loader, and I don't see any traffic with wireshark. Any other ideas? Regards, Matt Love From: Robert Iakobashvili [mailto:cor...@gm...] Sent: Thursday, October 30, 2008 6:07 PM To: curl-loader-devel Subject: Re: xml post Hi Matt, There is a known issue of libcurl, that with UPLOAD_FILE is places PUT although you have correctly specified POST. Let's try to make some workaround using MULTIPART_FORM_DATA <mailto:file=@poll2.xml> tag instead. the syntax is very similar to the -F curl option. ########### URL SECTION #################################### URL=http://192.168.2.56/nomadesk/index.php?TaskNavigator::Task=ReceiveMe ssage URL_SHORT_NAME="Poll" REQUEST_TYPE=POST MULTIPART_FORM_DATA="file=@poll2.xml <mailto:file=@poll2.xml> " TIMER_URL_COMPLETION = 5000 TIMER_AFTER_URL_SLEEP = 5000 place poll2.xml to the same directory, where curl-loader resides. You may give it a try. Sincerely, Robert |