incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eno...@apache.org
Subject svn commit: r544797 - /incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/idl/WSDLASTVisitor.java
Date Wed, 06 Jun 2007 10:14:00 GMT
Author: enolan
Date: Wed Jun  6 03:13:59 2007
New Revision: 544797

URL: http://svn.apache.org/viewvc?view=rev&rev=544797
Log:
Temporary fix until we get new deploy of cxf.

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=544797&r1=544796&r2=544797
==============================================================================
--- 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
Wed Jun  6 03:13:59 2007
@@ -443,10 +443,13 @@
         Definition wsdlDefinition = wsdlFactory.newDefinition();        
         wsdlDefinition.setTargetNamespace(tns);
 
-        wsdlDefinition.addNamespace(WSDLConstants.WSDL_PREFIX, WSDLConstants.WSDL11_NAMESPACE);
+        // REVISIT when get a new deploy of cxf
+        //wsdlDefinition.addNamespace(WSDLConstants.WSDL_PREFIX, WSDLConstants.WSDL11_NAMESPACE);
+        wsdlDefinition.addNamespace("wsdl", "http://schemas.xmlsoap.org/wsdl/");
         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(WSDLConstants.TNS_PREFIX, tns);
+        wsdlDefinition.addNamespace("tns", tns);
         wsdlDefinition.addNamespace(CorbaConstants.NP_WSDL_CORBA, CorbaConstants.NU_WSDL_CORBA);
         addCorbaExtensions(wsdlDefinition.getExtensionRegistry());
         return wsdlDefinition;



Mime
View raw message