diff WebServiceToolWorkflow/WebServiceTool1.py~ @ 0:d5cd409b8a18 default tip

Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
author ganjoo
date Tue, 07 Jun 2011 18:00:50 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/WebServiceToolWorkflow/WebServiceTool1.py~	Tue Jun 07 18:00:50 2011 -0400
@@ -0,0 +1,23 @@
+import warnings
+import platform
+import os,sys
+from getMethods import *
+from getMethods1 import *
+
+url = sys.argv[1]
+urllist = url.split('.')
+
+        
+wadlDocument = Document()
+#wadlDocument1 = Document1()
+
+if urllist[len(urllist)-1]=='wadl' or urllist[len(urllist)-1]=='WADL':
+    wadlDocument.getWADLMethods(url,sys.argv[2])
+ #   wadlDocument1.getWADLMethods(url,sys.argv[2])
+elif urllist[len(urllist)-1]=='wsdl' or urllist[len(urllist)-1]=='WSDL':
+    wadlDocument.getWSDLMethods(url,sys.argv[2])
+ #   wadlDocument1.getWSDLMethods(url,sys.argv[2])
+elif urllist[len(urllist)-1]=='sawadl' or urllist[len(urllist)-1]=='SAWADL':
+    wadlDocument.getSAWADLMethods(url,sys.argv[2])
+  #  wadlDocument1.getSAWADLMethods(url,sys.argv[2])
+