BackPrevious Page Next PageNext

RESTful Data Source Options

This dialog appears when you click the RESTful button in the Extract JSON Schema screen of the JSON Connection Wizard, or the Import XML Schema screen of the XML Connection Wizard. It helps you to edit the RESTful data source options for the specified data.

RESTful Data Source Options dialog

The following are details about options in the dialog:

Via REST Web Service

Specifies whether or not to receive remote data via REST web service.

If not, remote data is received via the protocol in the URL specified in the connection wizard.

If true, the remote data is provided by REST web services on the application server. The JReport Engine will use the REST web service client API (such as the JAX-RS client API of Java EE) to get remote data from REST web services on the application server and the URL, the HTTP method (GET, POST etc.), MIME type and so on need to be specified to setup the connection. Generally only the HTTP.GET method can be used to get remote data.

MIME Type

Specifies the MIME type for the REST web service data source. Select the type from the drop-down list or input the type in the text box. Available only when Via REST Web Service is checked.

User Name

Specifies the user name for remote data authentication.

Password

Specifies the password for remote data authentication.

HTTP Advanced Options

Click to show/hide the advanced options for the HTTP protocol.

OK

Applies the changes and closes the dialog.

Cancel

Cancels the changes and exits the dialog.

Help

Displays the help document about this feature.

 

Related topics:

Setting Up a JSON Connection

Setting Up an XML Connection

BackPrevious Page Next PageNext