Versions Compared

Key

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

This tutorial will guide you on how to expose data stored in Cassandra as a data serviceAlso, see the samples in Data Integration Samples.

...

...

Finish creating the data service

Once you have defined the operation, click Finish to complete the data service creation process. You will now be taken to the Deployed Services screen, which shows all the data services deployed on the server.

Invoking your data service using SOAP

You can try the data service you created by using the TryIt tool that is in your product by default. 

  1. Go to the Deployed Services screen.
  2. Click the Try this service link for the Cassandra data service. The TryIt Tool will open with the data service.

Create the Keyspace

  1. Select the createKSOp operation you created earlier. 

  2. Click Send.

The UsersKS keyspace is now added to the database.

Create the table in the Keyspace

  1. Select the createTableOp operation you created earlier. 

  2. Click Send.

The Users keyspace is now added to the UsersKS keyspace
  1. .

Post new data

  1. Select the addUsersOp operation you created earlier. 
  2. You need to provide the user details. Be sure to enter a UUID value as the user ID.

  3. Click Send.

The data is now added to the database.

Get data

  1. Select the getUsersbyIDop operation you created earlier. 
  2. Click Send to see the details of the user you added previously.

...