Creating a Custom Data Service File

Set up a custom data service (.cds) file and identify the JAR file (data service plug-in), existing custom data service, or data service descriptor on which the new data service will be based.

  1. Select File > New > Custom Data Service. The Custom Data Service wizard opens.
  2. Fill in the fields on the first page of the wizard.
    Container Enter or browse to the project folder in which you want to store your custom data service.
    File Name (Optional.) Edit the file name. Be sure to leave the .cds extension in place.
    Select a Grid Domain Controller Select the grid domain controller (GDC) for the domain in which your custom data service will reside. (This is the domain where the JAR file for your data service plug-in is stored.)
  3. Click Next. The second page of the wizard appears.
  4. Specify the object on which your data service will be based.
    Choose a JAR file from the local file system Select this option if your JAR is not in the data catalog
    Choose an object from the data catalog Select this option if your data service will be based on a JAR file that’s been shared into the data catalog, on a data service descriptor, or on an existing custom data service.

    Then select the JAR or data service from the data catalog. JARs are typically stored under /Shares. Data services can be found under /Categories/ViewLibrary/DataServices

  5. Click Finish. The .cds file is created and opens in the editing pane.
WorkSpace Data Federation creates a folder for the custom data service in your local workspace directory. The folder contains the .cds file and the JAR file.
Next 

Define input sources for your custom data service.

For product-related issues, contact Sybase Technical Support at 1-800-8SYBASE. Send your feedback on this help topic directly to Sybase Technical Publications: pubs@sybase.com