This API function validates response envelope checking necessary ID-WSF SOAP headers and signature. This API is used as a building block in tas3_call(), which see. Usually you should use tas3_call() instead of this API function.
tas3_wsc_prepare_call() and tas3_wsc_valid_resp() work together as follows:
01 req_soap = tas3_wsc_prepare_call(cf, ses, svctype,
02 url, di_opt, az_cred,
03 "<idhrxml:Modify>...</>");
04 resp_soap = your_http_post_client(url, req_soap);
05 if (tas3_wsc_valid_resp(cf, ses, az_cred, resp_soap)) {
06 xml = xml_parse(resp_soap);
07 INFO("Data is " + xml->Data);
08 } else
09 ERR("HTTP failure");