org.apache.woden.tool.converter
Class Convert

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

public class Convert
extends java.lang.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 java.lang.String COPY
           
static java.lang.String IGNORE
           
 
Constructor Summary
Convert()
           
 
Method Summary
 java.lang.String convertDefinition(java.lang.String newTargetNS, javax.wsdl.Definition def, java.lang.String targetDir, boolean verbose, boolean overwrite)
           
 java.lang.String convertFile(java.lang.String newTargetNS, java.lang.String fileName, java.lang.String targetDir, boolean verbose, boolean overwrite)
           
 java.util.Map getExtToBehaviorMap()
           
static void main(java.lang.String[] argv)
          The main entry-point for the conversion utility.
 void setExtToBehaviorMap(java.util.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 java.lang.String COPY

IGNORE

public static java.lang.String IGNORE
Constructor Detail

Convert

public Convert()
Method Detail

getExtToBehaviorMap

public java.util.Map getExtToBehaviorMap()

setExtToBehaviorMap

public void setExtToBehaviorMap(java.util.Map extToBehaviorMap)

convertDefinition

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

convertFile

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

main

public static void main(java.lang.String[] argv)
                 throws java.lang.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:
java.lang.Exception


Copyright © 2007. All Rights Reserved.