Discussion Board for collaboration related to QlikView Deployment.
Hi everybody !
I'm trying to start a task that have an external event as trigger, using a Rest componenent in Talend.
When i send my request on qtxs.asmx, within the body <Global method="GetTimeLimitedRequestKey" /> ; the response is : 401.
So, I've tried to add header to the request to solve problems of authentication.
I've add header "Authorization" with value "Basic login:password", where login:password is encoded in base64. As specified in the http authentication rfc (http://tools.ietf.org/html/rfc2617#page-6).
Always and always a 401 error !
The user is member of QlikView Administrators group, and i run Qlikview Distribution Service v9.
If someone can help me...
Thanks a lot !!
Go to Solution.
You need to use NTLM authentication; basic authentication will not work.
View solution in original post
try to put the user in a new local or ad group named "QlikView EDX", where all users allowed to trigger a EDX Task are kept.
Only different Users NO GROUPS allowed in there.
For my part i trigger the reload via VBS in a QlikView Macro, i was unable to put a password on a task. only empty Passwords are working here.
Hope that help,
Thanks for your answer schlettig.
I've added my user in the QlikView EDX group, always 401 error...
thanks a lot for your answer, because indeed Basic authentication doesn't work, but NTLM works fine !
May I ask where did you guys add the authentcation infomation?
I'm not good at this VB thing. a little help please?
Thanks in advnace,
Public Sub Main() Dim requestKey, xmlhttp As Object
xmlhttp = CreateObject("msxml2.xmlhttp.3.0") xmlhttp.open("post", "http://192.168.1.59:4720/qtxs.asmx", False) xmlhttp.send("<Global method=""GetTimeLimitedRequestKey"" />" & vbCrLf) requestKey = xmlhttp.responseXML.selectSingleNode("//GetTimeLimitedRequestKeyResult").text xmlhttp.open("post", "http://192.168.1.59:4720/qtxs.asmx", False) xmlhttp.send("<Global method=""RequestEDX"" key=""" & requestKey & """><i_TaskIDOrTaskName>Update QVDs</i_TaskIDOrTaskName><i_Password /><i_VariableName /><i_VariableValueList /></Global>" & vbCrLf) Dts.TaskResult = ScriptResults.Success End Sub