We have an Excel application to download quickly (in batch) the pdf or step file from Windchill. We like to show also the 3D (Creo view express files) in an Internet explorer window. For this we have Author licenses.
Although I am passing the credentials in the header, internet explorer prompts me to enter my password. What am I doing wrongly here ?
Attached snippit from Excel vba
The file is not available and I do not like to touch the installation 😉
Besides this application, is there an example how to just log on interactively to Windchill and pass the credentials in the header ? Maybe i can base me to this...
I mean change the file name in your query:
First query display that authorization works fine:
"GET /Windchill/wtcore/jsp/wvs/edrview.jsp?url=http://windchill.vld.be/Windchill/servlet/WindchillAuthGW/com.ptc.wvs.server.util.WVSContentHelper/redirectDownload/a000103266_asm.pvs?HttpOperationItem=wt.content.ApplicationData:1163764422&ContentHolder=wt.viewmarkup.DerivedImage:1156356126&u8=1&objref=OR:wt.viewmarkup.DerivedImage:1156356126 HTTP/1.1" 200
First GET command was obtained at Apache server after manual authentication. Second line was a internal call by the jsp page.
This gets reported when authentication is pending :
18.104.22.168 - - [19/Dec/2019:10:09:47 +0100] "GET /Windchill/wtcore/jsp/wvs/edrview.jsp?url=http://windchilltest.vld.be/Windchill/servlet/WindchillAuthGW/com.ptc.wvs.server.util.WVSContentHelp... HTTP/1.1" 401 642 0
Also if you have one time IE logged on correctly this is remebered in de embedded (master) IE process. Closing the IE window does not kill the embedded process and so grants without autorization.