braathen / qv-webticket Goto Github PK
View Code? Open in Web Editor NEWASP.NET module for simplifying integration with QlikView to other products.
License: MIT License
ASP.NET module for simplifying integration with QlikView to other products.
License: MIT License
When I set up web server and app server on different servers communicate via certificate SSL. Default code provided will fail on ASPX:
HttpWebRequest client = (HttpWebRequest)WebRequest.Create(new Uri(QlikViewServerURL));
client.PreAuthenticate = true;
client.Method = "POST";
client.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;
client.Credentials = new NetworkCredential(ticketinguser,ticketingpassword);
using (StreamWriter sw = new StreamWriter(client.GetRequestStream()))
sw.WriteLine(webTicketXml);
StreamReader sr = new StreamReader(client.GetResponse().GetResponseStream());
string result = sr.ReadToEnd();
XDocument doc = XDocument.Parse(result);
return doc.Root.Element("retval").Value;
}
Return error on line - return doc.Root.Element("retval").Value;
Error message:
[NullReferenceException: Object reference not set to an instance of an object.]
Do I need to change compression method here?
Have you experienced issue with SSL?
The accesspoint is https://qlik.domain.com
When SSL is on, error out with message:
Error: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Any idea what might be the issue? Thanks!
I did try to enable trusted host etc...
Thanks for fixing SSL issue, now we are not getting certificate error anymore. But we are getting prompted for login. This works fine when testing internally, but not when this deployed to internet.
Here is our setup:
So in code, two URL that I have been changing back and forth, but still get nowhere -
I have used:
public static string QlikViewServerURL = @"https://qlikwebsvr1/QVAJAXZFC/getwebticket.aspx?";
in ticket configuration URL for return URL -
AccessPointUri = new Uri ("https://qlik.domain.com/qlikview"),
In our situation, what should be the right URL address?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.