[Download] | [Documentation Home] | [Release Note]

Data Services Clients Sample

Introduction

This sample demonstrates the usage of code-generated clients when used with data-services. The service stubs are created by using the "WSDL2Java" tool, which are used by the data service clients.

Prerequisites

The sample data services should be deployed as per the instructions mentioned in Deploying Samples section.

Running the Clients

There are separate ant tasks for all the samples. The ant tasks are as follows.

Follow the below instructions to run the clients :-
  1. Switch to data service clients sample directory, e.g.

    # cd CARBON_HOME/samples/clients
  2. Running all the generic clients (rdbms, csv, excel, gspread, batch_request)

    # ant
  3. Running the secure sample sample client

    # ant batch_request
  4. Running the file service application sample client

    # ant file_service_app
NOTE: any of the samples can be run individually by running the "ant" command followed by the task name, e.g. "ant rdbms", for an explanation of the output for each service, refer to its respective sample pages.