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
This commit is contained in:
nash 2010-12-04 09:32:09 +00:00
parent 0c371d0547
commit e7b00da5c2

View file

@ -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);
}