Mercurial > repos > ganjoo > webservice_toolsuite
comparison WebServiceToolWorkflow/WebServiceTool_input_url.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 platform | |
| 2 import os,sys | |
| 3 from getMethods import * | |
| 4 | |
| 5 url = sys.argv[1] | |
| 6 urllist = url.split('.') | |
| 7 | |
| 8 | |
| 9 wadlDocument = Document() | |
| 10 | |
| 11 if urllist[len(urllist)-1]=='wadl' or urllist[len(urllist)-1]=='WADL': | |
| 12 wadlDocument.getWADLMethods(url,sys.argv[2]) | |
| 13 elif urllist[len(urllist)-1]=='wsdl' or urllist[len(urllist)-1]=='WSDL': | |
| 14 wadlDocument.getWSDLMethods(url,sys.argv[2]) | |
| 15 elif urllist[len(urllist)-1]=='sawadl' or urllist[len(urllist)-1]=='SAWADL': | |
| 16 wadlDocument.getSAWADLMethods(url,sys.argv[2]) | |
| 17 | |
| 18 | 
