Setting up an exemplary Web Service Entity¶
The following example shows how to access and integrate data provided by the Chembl Descriptors Web Service directly within the context of the Pubchem demo grid. This integration enhances the capabilities of Pubchem demo by providing additional chemical descriptor information from an external web service (Chembl).
For detailed description of Web Service entity, please navigate here.
-
Close IJC if opened. Ensure that the Java property
com.chemaxon.dif.enable.wsentityis set totrue. In order to do so, navigate toetc\instantjchem.confand add-J-Dcom.chemaxon.dif.enable.wsentity=trueas can be seen in the screenshot below.

-
Download ijc-api-examples.zip corresponding to your IJC version and install plugin ijc-api-examples\plugins\com-chemaxon-ijc-wsentity-chembldescriptors.nbm. If you need help with installing plugins in IJC, follow the steps outlined, for example, in Installing Plugins documentation.
-
Start IJC. A new action titled
New Data Tree and Web Service entity (virtual view)will is available. This action can be found in the pop-up menu that appears when you right-click on a schema. Fill in theDisplay Name:. Copy the following configuration in theconfig:box
and clickFinish. -
Click on
Edit Schemaand navigate toEntitiestab. Once here, right click onPubchem demoentity and chooseNew Relationship.... Here, chooseNew Virtual relationshipand fill in the details as can be seen in the picture below.

-
Next step is to add your Web Service entity as a child entity to Pubchem demo. To do this, in
Data Treetab, R-click on Pubchem demo data tree and selectManage Child Entities.... Simply check the Web Service entity as shown in the picture below and clickFinish.

-
Now, you can add fields from the newly created Web Service to your
Pubchem demo grid view(s).
