org.apache.woden.tool.converter
Class Convert

java.lang.Object
  extended by org.apache.woden.tool.converter.Convert

public class Convert
extends Object

This is a utility to convert WSDL 1.1 documents into WSDL 2.0 documents.

Author:
Matthew J. Duftler (duftler@us.ibm.com)

Field Summary
static String COPY
           
static String IGNORE
           
 
Constructor Summary
Convert()
           
 
Method Summary
 String convertDefinition(String newTargetNS, javax.wsdl.Definition def, String targetDir, boolean verbose, boolean overwrite)
           
 String convertFile(String newTargetNS, String fileName, String targetDir, boolean verbose, boolean overwrite)
           
 Map getExtToBehaviorMap()
           
static void main(String[] argv)
          The main entry-point for the conversion utility.
 void setExtToBehaviorMap(Map extToBehaviorMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPY

public static String COPY

IGNORE

public static String IGNORE
Constructor Detail

Convert

public Convert()
Method Detail

getExtToBehaviorMap

public Map getExtToBehaviorMap()

setExtToBehaviorMap

public void setExtToBehaviorMap(Map extToBehaviorMap)

convertDefinition

public String convertDefinition(String newTargetNS,
                                javax.wsdl.Definition def,
                                String targetDir,
                                boolean verbose,
                                boolean overwrite)
                         throws javax.wsdl.WSDLException,
                                IOException
Throws:
javax.wsdl.WSDLException
IOException

convertFile

public String convertFile(String newTargetNS,
                          String fileName,
                          String targetDir,
                          boolean verbose,
                          boolean overwrite)
                   throws javax.wsdl.WSDLException,
                          IOException
Throws:
javax.wsdl.WSDLException
IOException

main

public static void main(String[] argv)
                 throws Exception
The main entry-point for the conversion utility. The output is sent to standard out.
Usage:

  java org.apache.woden.tool.converter.Convert -wsdl wsdl1.1FileName

Throws:
Exception


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.