You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Nash (JIRA)" <de...@tuscany.apache.org> on 2010/12/04 10:53:11 UTC

[jira] Updated: (TUSCANY-3800) Incorrect WSDL generated for JAX-WS array parameter or return type in some cases

     [ https://issues.apache.org/jira/browse/TUSCANY-3800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash updated TUSCANY-3800:
--------------------------------

    Description: 
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.

  was: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.

        Summary: Incorrect WSDL generated for JAX-WS array parameter or return type in some cases  (was: Introspecting JAX-WS array parameter or return type can produce incorrect QName)

This array introspection problem doesn't only affect JAXWSJavaInterfaceProcessor and element QNames.  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.

> 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.