incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmidd...@apache.org
Subject svn commit: r544543 - /incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/WSDLASTVisitor.java
Date Tue, 05 Jun 2007 16:24:02 GMT
Author: dmiddlem
Date: Tue Jun  5 09:24:01 2007
New Revision: 544543

URL: http://svn.apache.org/viewvc?view=rev&rev=544543
Log:
Fix for the failing Continuum build.  Updating source to account for a change in CXF API.

Modified:
    incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/WSDLASTVisitor.java

Modified: incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/WSDLASTVisitor.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/WSDLASTVisitor.java?view=diff&rev=544543&r1=544542&r2=544543
==============================================================================
--- incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/WSDLASTVisitor.java
(original)
+++ incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/WSDLASTVisitor.java
Tue Jun  5 09:24:01 2007
@@ -48,8 +48,8 @@
 import antlr.collections.AST;
 
 import org.apache.cxf.tools.common.ToolException;
-import org.apache.cxf.tools.common.WSDLConstants;
 import org.apache.cxf.wsdl.JAXBExtensionHelper;
+import org.apache.cxf.wsdl.WSDLConstants;
 import org.apache.schemas.yoko.bindings.corba.AddressType;
 import org.apache.schemas.yoko.bindings.corba.BindingType;
 import org.apache.schemas.yoko.bindings.corba.OperationType;
@@ -442,9 +442,10 @@
         WSDLFactory wsdlFactory = WSDLFactory.newInstance();
         Definition wsdlDefinition = wsdlFactory.newDefinition();        
         wsdlDefinition.setTargetNamespace(tns);
-        wsdlDefinition.addNamespace(WSDLConstants.WSDL_PREFIX, WSDLConstants.NS_WSDL);
-        wsdlDefinition.addNamespace(WSDLConstants.XSD_PREFIX, WSDLConstants.XSD_NAMESPACE);
-        wsdlDefinition.addNamespace(WSDLConstants.SOAP_PREFIX, WSDLConstants.SOAP11_NAMESPACE);
+
+        wsdlDefinition.addNamespace(WSDLConstants.WSDL_PREFIX, WSDLConstants.WSDL11_NAMESPACE);
+        wsdlDefinition.addNamespace(WSDLConstants.NP_SCHEMA_XSD, WSDLConstants.NU_SCHEMA_XSD);
+        wsdlDefinition.addNamespace(WSDLConstants.SOAP11_PREFIX, WSDLConstants.SOAP11_NAMESPACE);
         wsdlDefinition.addNamespace(WSDLConstants.TNS_PREFIX, tns);
         wsdlDefinition.addNamespace(CorbaConstants.NP_WSDL_CORBA, CorbaConstants.NU_WSDL_CORBA);
         addCorbaExtensions(wsdlDefinition.getExtensionRegistry());



Mime
View raw message