You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ch...@apache.org on 2005/10/03 07:29:46 UTC
svn commit: r293256 -
/webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/WSDL2JavaGenerator.java
Author: chinthaka
Date: Sun Oct 2 22:29:39 2005
New Revision: 293256
URL: http://svn.apache.org/viewcvs?rev=293256&view=rev
Log:
Fixing build break.
Modified:
webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/WSDL2JavaGenerator.java
Modified: webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/WSDL2JavaGenerator.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/WSDL2JavaGenerator.java?rev=293256&r1=293255&r2=293256&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/WSDL2JavaGenerator.java (original)
+++ webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/WSDL2JavaGenerator.java Sun Oct 2 22:29:39 2005
@@ -15,6 +15,14 @@
*/
package org.apache.axis2.tool.codegen;
+import org.apache.axis2.tool.codegen.eclipse.util.UIConstants;
+import org.apache.axis2.wsdl.WSDLConstants;
+import org.apache.axis2.wsdl.builder.WOMBuilderFactory;
+import org.apache.axis2.wsdl.codegen.CommandLineOption;
+import org.apache.axis2.wsdl.codegen.CommandLineOptionConstants;
+import org.apache.wsdl.WSDLDescription;
+
+import javax.wsdl.WSDLException;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
@@ -24,14 +32,6 @@
import java.util.HashMap;
import java.util.Map;
-import javax.wsdl.WSDLException;
-
-import org.apache.axis2.tool.codegen.eclipse.util.UIConstants;
-import org.apache.axis2.wsdl.builder.WOMBuilderFactory;
-import org.apache.axis2.wsdl.codegen.CommandLineOption;
-import org.apache.axis2.wsdl.codegen.CommandLineOptionConstants;
-import org.apache.wsdl.WSDLDescription;
-
public class WSDL2JavaGenerator {
@@ -149,7 +149,7 @@
in = new FileInputStream(new File(wsdlURI));
}
- return WOMBuilderFactory.getBuilder(WOMBuilderFactory.WSDL11).build(in).getDescription();
+ return WOMBuilderFactory.getBuilder(WSDLConstants.WSDL_1_1).build(in).getDescription();
} catch (FileNotFoundException e) {
throw e;
} catch (WSDLException e) {