Mercurial > repos > ganjoo > webservice_toolsuite
view WebServiceToolWorkflow/WodenWSDLParser/src/CovertToWSDL2.java @ 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 source
import java.io.IOException; import javax.wsdl.WSDLException; import org.apache.woden.tool.converter.Convert; public class CovertToWSDL2 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Convert convert = new Convert(); try{ try { String convertFile = convert.convertFile("http://www.ebi.ac.uk/ws/services/WSDbfetch", "/home/ganjoo/parser/woden-dom-1.0M8/wsdl/WSDbfetch.wsdl", "/home/ganjoo/parser/woden-dom-1.0M8/wsdl/wsdl2/", true, true); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } }catch(WSDLException e){ e.printStackTrace(); } } }