Jump to content
Changes to the Jaspersoft community edition download ×

moonstone - .Net webservices client


Recommended Posts


I am using the .NET client for jasper server, and i can't figure out how to get a list of parameters for a specific report. When I run the following code, the parameter variable in the rDesc(ResourceDescriptor) is always empty:


private void getReports(Repository repository, ResourceDescriptor desc, ArrayList reports)


ListRequest request = new ListRequest(desc);


Response response = repository.list (request);

OperationResult result = response.toOperationResult();


if (result.resourceDescriptors != null)


foreach (ResourceDescriptor rDesc in result.resourceDescriptors )


if (rDesc.wsType.Equals(Constants.TYPE_FOLDER))


getReports(repository, rDesc, reports);


else if ( rDesc.wsType.Equals(Constants.TYPE_REPORTUNIT))




reports.Add( rDesc.parameters); // this is always null


else if (rDesc.wsType.Equals(Constants.TYPE_INPUT_CONTROL))


String name = rDesc.name;

Parameter[] param = rDesc.parameters;






Do you know how I can get a list of parameters for each report? I want to prompt the user in my .NET application with the parameters.


Thanks in Advance,


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...