Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 11254 invoked from network); 3 Oct 2005 05:30:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2005 05:30:09 -0000 Received: (qmail 33788 invoked by uid 500); 3 Oct 2005 05:30:07 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 33531 invoked by uid 500); 3 Oct 2005 05:30:07 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 33520 invoked by uid 500); 3 Oct 2005 05:30:06 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 33517 invoked by uid 99); 3 Oct 2005 05:30:06 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 02 Oct 2005 22:30:06 -0700 Received: (qmail 10974 invoked by uid 65534); 3 Oct 2005 05:29:46 -0000 Message-ID: <20051003052946.10973.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293256 - /webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/WSDL2JavaGenerator.java Date: Mon, 03 Oct 2005 05:29:46 -0000 To: axis2-cvs@ws.apache.org From: chinthaka@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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) {