Jump to content
Changes to the Jaspersoft community edition download ×

billokara

Members
  • Posts

    7
  • Joined

  • Last visited

billokara's Achievements

  1. Hi, From the doc, it mentioned: http://community.jaspersoft.com/documentation/jasperreports-server-web-services-guide/v56/thev2domainsmetadataservice You can then replace the schema file in the Domain with one of the file updating methods described in . Anyone knows which file updating methods the doc was referring to? Thanks! Bill
  2. Hi, what is the proper way to modify/replace the schema file of a ClientSemanticLayerDataSource using rest java client (jrs-rest-java-client-6.3.0)? i tried using ===== SingleResourceAdapter resAdapter = session.resourcesService().resource(schemaUri); ClientFile cf = (ClientFile) resAdapter.details().getEntity(); cf.setContent(newXmlContent) resAdapter.createOrUpdate(cf) ==== After the update, when trying to get the schema resource back, the downloadBinary() seems returned content in gibberrish characters (I read from the InputStream and output to string. the content was OK before the createOrUpdate, but after createOrUpdate in the above steps, it became gibberish). is this the proper way to modify/replace the xml schema using the rest java client? Thanks! Bill
  3. found it, SingleResourceAdapter.createOrUpdate
  4. Hi, for datasource resource, there's an example of creating/uploading the resource with schema/bundle etc files using: ClientSemanticLayerDataSource domainEntity = session .resourcesService() .resource(domain) .withBundle(defBundle, newDefaultBundle) .withBundle(enUSBundle, newEnUsBundle) .withSecurityFile(securityFile, securityFile) .withSchema(schemaFile, schema) .inFolder("/my/new/folder/") .create() .entity(); But how to modfiy/replace an existing schema file with an updated file? Thanks!Bill
  5. Hi, does anyone know where to get the javadoc and/or source code for jasperserver-dto module (v 6.3.0) ? I downloaded the jar from http://jaspersoft.artifactoryonline.com/jaspersoft/repo/com/jaspersoft/jasperserver/jasperserver-dto/6.3.0/ but couldn't find where to download the javadoc or source code... I am trying to use the SingleResourceAdapter in jrs-rest-java-client module, and it reference some com.jaspersoft.jasperserver.dto.resources.* classes, which I would like to see how to create/use those classes. Thanks! Bill
×
×
  • Create New...