comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:d5cd409b8a18
1 import java.io.IOException;
2
3 import javax.wsdl.WSDLException;
4
5 import org.apache.woden.tool.converter.Convert;
6
7
8 public class CovertToWSDL2 {
9
10 /**
11 * @param args
12 */
13 public static void main(String[] args) {
14 // TODO Auto-generated method stub
15 Convert convert = new Convert();
16 try{
17 try {
18 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);
19 } catch (IOException e) {
20 // TODO Auto-generated catch block
21 e.printStackTrace();
22 }
23 }catch(WSDLException e){
24 e.printStackTrace();
25 }
26 }
27
28 }