Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Using the Data Services Server, you can create a data service using a RDF (Resource Description Framework) as the data source.

1. Log on to the Data Services Server Management Console.

Image Added

2. Click the Main tab and select the Create link under Data Services.

Image Added

3. The Create Data Service page appears. Fill in the fields and click Next. The Data Service name is mandatory.

Image Added

Info

Info:
For more information on Advanced Configurations in creating data services, refer to the Transaction Handling section.

4. The Data Sources page appears. Click on the Add New Data Source link and add your Data Source details. Select the data source type as RDF.

For example,

Image Added

Info

Note:
We use a sample resource hosted online but you can also use one in your local machine. The RDF resource used in this example is hosted by NASA in this URL: http://nasa.dataincubator.org/~search.rdf?query=all

5. Click Save. The added data source page appears. You can edit or delete the Data Source. To proceed click "Next."

Image Added

6. The Queries page appears.

Initially your service does not include any queries. Click on 'Add New Query' to add a new query, input/output mappings, events etc. to your Data Service. Enter query details according to the structure of the response you want.

In the following example, we have used Grouped By Element, Row Name and Row namespace.

Image Added

7. Once a new query is added, it will be listed as follows:

Image Added

You have added one query to your data service configuration.

You can edit or delete your query. To continue, click Next.

8. The Operations page appears. Click the Add new operation link to create an operation. Select a query to be executed when this operation is called.

Click Save once done. For example,

Image Added

9. The operation will be listed in the operations page. 

Image Added

10. The Data Service configuration is done. Click Finish. (You can continue to add resources by clicking the Next button if you like)

11. You will be navigated to the "Deployed services" page.

Image Added

From here, you can manage your service.