← Revision 1 as of 2008-04-10 19:20:47 →
Size: 179
Comment:
|
Size: 1211
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
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. | |
Line 7: | Line 8: |
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 ==== |
(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