|
MSD's API and WebAPI DevelopmentDevelopers and Bioinformaticians can develop their own applications either using PDBe Web API as an External Service based on Web Services, or using Native PDBe APIs, as local method calls. The PDBe Web API has been developed so that the PDBe can participate in Distributed Computing and Grid based activities and to be integrated with other related databases and applications. The PDBe Web API service enables software developers to query the Macromolecular Structure Database directly from their own application programs. The PDBe Web API uses SOAP and WSDL standards in order that developers can program in their favourite environment - such as Java, C/C++, Perl,...to build Client-Server, Peer-to-Peer and Stand-Alone applications. A Quick How-to...
Query:
For implementation of this example in Perl:Unix UsersDownload and Install Perl Download the latest version of SOAP::Lite Follow the standard Perl module installation procedures by entering familiar command sequence: perl Makefile.PL make make test make install Windows UsersDownload and install ActivePerl Download the latest version of SOAP::Lite Windows users should use 'nmake' instead of make. For example: perl Makefile.PL nmake nmake test nmake install To create Perl stubs:perl ($PERL)/bin/stubmaker.pl msd_soap_service.wsdl This will create Perl stubs module: msd_soap_service.pm Then we can use this module in our application to call the Webservice methods or just simply use SOAP::Lite module in our application which uses on the fly stub modules to call the methods. Now we can start to write client application… Download example: WSPerlClient.pl
Primary developer: Siamak Sobhany Document mantained by: Gaurav Sahni ![]() |