diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-12-04 09:32:09 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-12-04 09:32:09 +0000 |
commit | e7b00da5c282db42c1bd48273a12717f2363b00f (patch) | |
tree | 0be6fa1b0103f19f84c967901d2e60fbe3b998bb /sca-java-1.x/trunk/modules/binding-ws-wsdlgen/src/main/java/org | |
parent | 0c371d0547e458e67f71ab9d0aff5bed5734fa53 (diff) |
TUSCANY-3800: Generate correct WSDL for two-dimensional arrays
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1042122 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/modules/binding-ws-wsdlgen/src/main/java/org')
-rw-r--r-- | sca-java-1.x/trunk/modules/binding-ws-wsdlgen/src/main/java/org/apache/tuscany/sca/binding/ws/wsdlgen/Interface2WSDLGenerator.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sca-java-1.x/trunk/modules/binding-ws-wsdlgen/src/main/java/org/apache/tuscany/sca/binding/ws/wsdlgen/Interface2WSDLGenerator.java b/sca-java-1.x/trunk/modules/binding-ws-wsdlgen/src/main/java/org/apache/tuscany/sca/binding/ws/wsdlgen/Interface2WSDLGenerator.java index 542517182c..00a767c089 100644 --- a/sca-java-1.x/trunk/modules/binding-ws-wsdlgen/src/main/java/org/apache/tuscany/sca/binding/ws/wsdlgen/Interface2WSDLGenerator.java +++ b/sca-java-1.x/trunk/modules/binding-ws-wsdlgen/src/main/java/org/apache/tuscany/sca/binding/ws/wsdlgen/Interface2WSDLGenerator.java @@ -176,9 +176,11 @@ public class Interface2WSDLGenerator { if (db == null) { return null; } - if ("java:array".equals(db)) { - DataType dt = (DataType)type.getLogical(); - db = dt.getDataBinding(); + + // TUSCANY-3800 + while ("java:array".equals(db)) { + type = (DataType)type.getLogical(); + db = type.getDataBinding(); } return helpers.get(db); } |