Hi,
I want to open report instance using viewrpt.cwr (or any other way) from a client pc. I schedule report using java code on a CE10 server and instances were successfully created, but when I try to open it by passing the URL to the instance, it prompt for the user logon information for CMS server. Is there any way that I could include user login info in the URL. If any body has done this, I appreciate if you can give me some help.
here is my code:
String urlBase = " + oInfoInstance.getID() + "?";
//APS security
urlBase += "&aps=" + URLEncoder.encode(cmsName) + "&apsuser=" + URLEncoder.encode(user) + "&apspassword=" + URLEncoder.encode(password)
+ "&apsauthtype=" + URLEncoder.encode(cmsAuthType);
URL connection = new URL(urlBase);
But this still ask for the authentication.
Thanks in advance.
I want to open report instance using viewrpt.cwr (or any other way) from a client pc. I schedule report using java code on a CE10 server and instances were successfully created, but when I try to open it by passing the URL to the instance, it prompt for the user logon information for CMS server. Is there any way that I could include user login info in the URL. If any body has done this, I appreciate if you can give me some help.
here is my code:
String urlBase = " + oInfoInstance.getID() + "?";
//APS security
urlBase += "&aps=" + URLEncoder.encode(cmsName) + "&apsuser=" + URLEncoder.encode(user) + "&apspassword=" + URLEncoder.encode(password)
+ "&apsauthtype=" + URLEncoder.encode(cmsAuthType);
URL connection = new URL(urlBase);
But this still ask for the authentication.
Thanks in advance.