[MOBY-guts] biomoby commit
Yan Wong
yanwong at pub.open-bio.org
Wed Apr 20 12:13:34 UTC 2005
yanwong
Wed Apr 20 08:13:34 EDT 2005
Update of /home/repository/moby/moby-live/Python/tutorials/webservices
In directory pub.open-bio.org:/tmp/cvs-serv21559
Modified Files:
dbwebservice.py
Log Message:
added some comment
moby-live/Python/tutorials/webservices dbwebservice.py,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Python/tutorials/webservices/dbwebservice.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Python/tutorials/webservices/dbwebservice.py 2005/04/20 09:39:37 1.2
+++ /home/repository/moby/moby-live/Python/tutorials/webservices/dbwebservice.py 2005/04/20 12:13:34 1.3
@@ -85,3 +85,11 @@
SQLDispatcher do it for you, formatters and parameters transformation are also managed
by the dispatcher. Exceptions are returned in the serviceNotes block
"""
+
+
+from ZSI import dispatch
+
+#Important: typesmodule=TCBioMoby must be added because of issue with bioMoby Perl
+#If this line is dropped, then, your service won't be able to communicate with bioMoby Perl
+from bioMoby.webservice import TCBioMoby
+dispatch.AsCGI(typesmodule=TCBioMoby)
More information about the MOBY-guts
mailing list