I installed and configured the SDK sample provided on the tech note here for a package republish -
http://www-01.ibm.com/support/docview.wss?uid=swg21371429
The code works fine on any NEW packages that we publish. It does not update the reports referencing existing packages. The existing packages were upgraded from version 8 to 10 recently. The code is designed to scan the entire content store - all reports and packages. Can anyone please shed light on why it may not be working on existing packages / reports?
public static void main(String args[]) {
// connection to the ReportNet service
String endPoint = "http://localhost:9300/p2pd/servlet/dispatch";
// log in as a System Administrator to ensure you have the necessary permissions to any query or report
String namespaceID = args[0];
String userID = args[1];
String password = args[2];
// search path of the report or query to be updated
String reportSearchPath = "//report | //query";
// search path of the package that is republished
String packageSearchPath = "/content//package";