[
https://issues.apache.org/jira/browse/TUSCANY-3800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966816#action_12966816
]
Simon Nash commented on TUSCANY-3800:
-------------------------------------
The Interface2WSDLGenerator problem with multi-dimensional arrays is caused by
code in getTypeHelper() which only dereferences a single indirection from a
java:array DataType. A two-dimensional array has a double java:array DataType
indirection, so a dereferencing loop is needed.
This specific problem is fixed in the 1.x trunk under revisions r1042122 and
r1042123.
I'm leaving this JIRA open while I do further investigations on other
array-related problems.
> Incorrect WSDL generated for JAX-WS array parameter or return type in some
> cases
> --------------------------------------------------------------------------------
>
> Key: TUSCANY-3800
> URL: https://issues.apache.org/jira/browse/TUSCANY-3800
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Axis Binding Extension
> Affects Versions: Java-SCA-1.6.1
> Reporter: Simon Nash
> Assignee: Simon Nash
> Fix For: Java-SCA-1.x
>
>
> The interface introspection algorithm in JAXWSJavaInterfaceProcessor adjusts
> the XML element QNames of the interface's parameter types and return type.
> The code that does this doesn't account for array types, with the result that
> QNames for array types aren't adjusted and in some cases are incorrect in the
> introspected interface and the generated WSDL.
> In addition there is code in Interface2WSDLGenerator that doesn't handle
> array types correctly, which produces incorrect WSDL for multi-dimensional
> array parameters. I'm extending the scope of this issue to cover all
> array-related introspection and WSDL generation problems.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.