Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2008-04-10 19:51:17
Size: 1211
Editor: KeiichiroOno
Comment:
Revision 6 as of 2009-02-12 01:03:56
Size: 1212
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
===== Simplest Plugin Using a Service ==== ===== Simplest Plugin Using a Service =====

(Under Construction)

Web Service Client Developer's Guide

Basics

From version 2.6, Cytoscape has a new framework called Web Service Client Manager. This is a mechanism to manage various kinds of web service cleints in Cytoscape. Once a client is registered, you can call the web service API from your own plugin.

Sample Client

First, let's use existing web service client from your own plugin. There are two ways to access web services.

Through Client Stub

  • Each web service has an endpoint to access all of its API. This class is called stub. For example, IntAct Binary Search web service has the following web service API:

Simplest Plugin Using a Service

In this section, I will discuss how to write a plugin to use existing service clients.

Firing CyWebServiceEvent to invoke common Cytoscape functions

  • There are some common highe-level functions used in Cytoscape, such as import network or import attribute. Web Service client usually have API

Use Web Service from Plugin

Create New Client

Web Service Client API

Mashup Multiple Services

WebServiceClientDevelopment (last edited 2009-02-12 01:03:56 by localhost)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux