Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Running a schedule using Report Caster Webservice

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Running a schedule using Report Caster Webservice
 Login/Join
 
<Natesh>
posted
I am building a asp.net website for ReportCaster5.3.2 WebService. I am able to add a new schedule & retrieve schedules details.

But when I use the "run" method in ScheduleService, I get a java.lang.nullpointer exception. I don't see any information in the log, so I know the schedule did not even execute.

But I am able to execute the same schedule successfully from Java WebStart version.

I am not able to figure out why I am getting this exception. Any help will be greatly appreciated.
 
Report This Post
Virtuoso
posted Hide Post
Can you post your code? Far easier to debug that way!

Don't you have to recast your scheduleservice with a getscheduleservice() as schedulemanager to perform a schedulemanager.run(logon,schedule_name) ?
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
<Natesh>
posted
Thank you very much for your response. Here is my code for running the schedule

public string runSchedule(string schedId)
{
Login ldd = (Login)HttpContext.Current.Session["UserLoginInfo"];
String jobId = " ";
String sectoken = ldd.SecToken;
rcScheduleService.Authenticate auth = new rcScheduleService.Authenticate();
auth.securityToken = sectoken;
auth.user = ldd.UserId;
auth.password = ldd.Password;
try
{

rcScheduleService.Schedule scheduleInfo = rcSchedManager.getSchedule(auth, schedId);
jobId = rcSchedManager.run(auth,scheduleInfo);
}

catch (Exception e)
{
jobId = e.Message;
}
return (jobId);
}
 
Report This Post
<Natesh>
posted
I forgot to provide these statements in my previous posting.

rcLogonService.LogonManagerWSService rcLogonManager = new rcLogonService.LogonManagerWSService();
rcUserService.UserManagerWSService rcUserManager = new rcUserService.UserManagerWSService();
rcScheduleService.ScheduleManagerWSService rcSchedManager = new rcScheduleService.ScheduleManagerWSService();
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Running a schedule using Report Caster Webservice

Copyright © 1996-2020 Information Builders