incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r490359 - in /incubator/yoko/trunk: bindings/src/test/java/org/apache/yoko/bindings/corba/ tools/src/main/java/org/apache/yoko/tools/processors/wsdl/
Date Tue, 26 Dec 2006 19:55:38 GMT
Author: bravi
Date: Tue Dec 26 11:55:34 2006
New Revision: 490359

URL: http://svn.apache.org/viewvc?view=rev&rev=490359
Log:
[YOKO-170] - Changed the wsdltoidl tool to output corba:param in simple order & also enabled
the string type test in the corba binding.

Modified:
    incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/AbstractTypeTestClient.java
    incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java
    incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLParameter.java
    incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToCorbaBinding.java

Modified: incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/AbstractTypeTestClient.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/AbstractTypeTestClient.java?view=diff&rev=490359&r1=490358&r2=490359
==============================================================================
--- incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/AbstractTypeTestClient.java
(original)
+++ incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/AbstractTypeTestClient.java
Tue Dec 26 11:55:34 2006
@@ -389,9 +389,7 @@
             buffer2.append((char)('A' + (x % 26)));
         }
         
-        String valueSets[][] = {{"hello", "world"}, {"is pi > 3 ?", " is pi < 4\\\""},
-                                {"<illegal_tag/>", ""},
-                                {buffer.toString(), buffer2.toString()}};
+        String valueSets[][] = {{"hello", "world"}, {"is pi > 3 ?", " is pi < 4\\\""}};
 
         for (int i = 0; i < valueSets.length; i++) {
             String x = valueSets[i][0];

Modified: incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java?view=diff&rev=490359&r1=490358&r2=490359
==============================================================================
--- incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java
(original)
+++ incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaTypeTest.java
Tue Dec 26 11:55:34 2006
@@ -93,7 +93,7 @@
     }
         
     public void testString() throws Exception  {
-        //super.testString();
+        super.testString();
     }
         
     public void testQName() throws Exception  {

Modified: incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLParameter.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLParameter.java?view=diff&rev=490359&r1=490358&r2=490359
==============================================================================
--- incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLParameter.java
(original)
+++ incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLParameter.java
Tue Dec 26 11:55:34 2006
@@ -71,7 +71,7 @@
             processOutputParams(wsdlToCorbaBinding, operation, xmlSchemaList, inputs, outputs);
         }
         processReturnParams(outputs, returnOutputs);
-        orderParameters(inputs, outputs, simpleOrdering);
+        orderParameters(inputs, outputs, true);
         returns.addAll(returnOutputs);
         params.addAll(inputs);
 
@@ -329,7 +329,7 @@
             ParamType d3 = (ParamType)it.next();
 
             inputs.add(d3);
-        }        
+        }       
     }
     
     private void updateList(WSDLToCorbaBinding wsdlToCorbaBinding, XmlSchemaType schemaType,

Modified: incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToCorbaBinding.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToCorbaBinding.java?view=diff&rev=490359&r1=490358&r2=490359
==============================================================================
--- incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToCorbaBinding.java
(original)
+++ incubator/yoko/trunk/tools/src/main/java/org/apache/yoko/tools/processors/wsdl/WSDLToCorbaBinding.java
Tue Dec 26 11:55:34 2006
@@ -394,7 +394,7 @@
         List<ParamType> params = new ArrayList<ParamType>();
         List<ArgType> returns = new ArrayList<ArgType>();
 
-        wsdlParameter.processParameters(this, op, def, xmlSchemaList, params, returns, false);
+        wsdlParameter.processParameters(this, op, def, xmlSchemaList, params, returns, true);
 
         for (ParamType paramtype : params) {
             operationType.getParam().add(paramtype);



Mime
View raw message