Mercurial > repos > ganjoo > webservice_toolsuite
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d5cd409b8a18 |
---|---|
1 import warnings | |
2 import platform | |
3 import os,sys | |
4 from getMethods import * | |
5 from getMethods1 import * | |
6 | |
7 url = sys.argv[1] | |
8 urllist = url.split('.') | |
9 | |
10 | |
11 wadlDocument = Document() | |
12 #wadlDocument1 = Document1() | |
13 | |
14 if urllist[len(urllist)-1]=='wadl' or urllist[len(urllist)-1]=='WADL': | |
15 wadlDocument.getWADLMethods(url,sys.argv[2]) | |
16 # wadlDocument1.getWADLMethods(url,sys.argv[2]) | |
17 elif urllist[len(urllist)-1]=='wsdl' or urllist[len(urllist)-1]=='WSDL': | |
18 wadlDocument.getWSDLMethods(url,sys.argv[2]) | |
19 # wadlDocument1.getWSDLMethods(url,sys.argv[2]) | |
20 elif urllist[len(urllist)-1]=='sawadl' or urllist[len(urllist)-1]=='SAWADL': | |
21 wadlDocument.getSAWADLMethods(url,sys.argv[2]) | |
22 # wadlDocument1.getSAWADLMethods(url,sys.argv[2]) | |
23 |