Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

New Contributor

A certificate is required to complete client authentication


I want to send  xml data to a web service with basic authantication. My code is below. But I get "A certificate is required to complete client authentication" error. But when i test the web service in postman it is ok. Could you help about this?

sub PostToWebService(sXML, sTableID)



    userid = "xxx"                              ' MODIFY TO FIT YOUR NEEDS

    apikey = "xxx." ' MUST SPECIFY A VALID API KEY TOKEN  

     xmlurl = "https:***"

   'Create xmlhttp opject and submit


     Set xmlhttp = CreateObject("WinHttp.WinHttpRequest.5.1")

    xmlhttp.open "POST", xmlurl, false

    xmlhttp.setRequestHeader "Content-Type", "text/xml"


    xmlhttp.setRequestHeader "Authorization", "Basic ***"

    xmlhttp.send sXML


   'now get the results from processing


    sResult = xmlhttp.StatusText

'    msgbox(sResult)

end sub

Community Browser