Based on ant-url-action module to ordinary retrieve feature from WMF
To be called from CRM_PROCES_Tree etc
#94 filter not set
${wfs.timestamp}
command:
${curl} ${php_session_id_tested} -XPOST -H "Content-type: text/xml" -d @${Query.xml.local} '${get_url.local}'
${wfs.timestamp}
#240 TODO load poperties @{GetPropertyValue.properties.local}
Posting TO $api_url.local = ${api_url.local} level="verbose"
$passwordBase64Basic_tested = ${passwordBase64Basic_tested}
$php_session_id_tested = ${php_session_id_tested}
$get_wfs.PostHttpForm.local = ${get_wfs.PostHttpForm.local}
$cookie_curl_option = ${cookie_curl_option}
$wfs_output.xml.local = ${wfs_output.xml.local}
${curl} ${php_session_id_tested} -d "${get_wfs.PostHttpForm.local}" '${api_url.local}'
#304 exec done!
GetXmlByUrlVerifyRetry.validate_length.failed #182 - first retry !
$output.length.try1 = ${output.length.try1}
GetXmlByUrlVerifyRetry.validate_length.failed #198 - first retry - zero length !
$output.length.try.0 = ${output.length.try.0}
#169 after validated ? not set any?
#258 Cannot properly download ${get_url}
Propably unset -DpasswordBase64Basic parameter!
generate it with :
echo "username:password" |base64
retrieved $username=${username}
php_session_id_check.properties=${php_session_id_check.properties}
$api_url = ${api_url}
runned: curl -c ${cookie_file} -H 'Authorization: Basic ${passwordBase64Basic_tested}' "${api_url}"
#289 we set php_session_id_tested=(${php_session_id_tested})
$php_session_id_ok.string = ${php_session_id_ok.string};
$cookie_file = ${cookie_file}
$username = ${username}
#329 saving properties to ${php_session_id_check.properties}