You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alessio Soldano (JIRA)" <ji...@apache.org> on 2009/04/02 11:38:12 UTC

[jira] Created: (CXF-2147) wsdl2java does not generate @XmlList with doc/lit wsdl

wsdl2java does not generate @XmlList with doc/lit wsdl
------------------------------------------------------

                 Key: CXF-2147
                 URL: https://issues.apache.org/jira/browse/CXF-2147
             Project: CXF
          Issue Type: Sub-task
          Components: Tooling
    Affects Versions: 2.2
            Reporter: Alessio Soldano
            Assignee: Alessio Soldano


This is related to https://jira.jboss.org/jira/browse/JBWS-2591 .
Basically, when running the tools (wsdl -> java) the @XmlList annotation is added to the SEI only for rpc/lit wsdl as there's a check for !part.isElement().
This prevents doc/lit bare methods from having the @XmlList annotation for both return type and parameters in the SEI.

The use case that revealed this is the com/sun/ts/tests/jaxws/ee/w2j/document/literal/marshalltest/Client.java#MarshallListTypesTest_from_wsappclient_reverse test in the JAXWS module of JavaEE CTS TCK. It's also reproduced in a minimal testcase linked at https://jira.jboss.org/jira/browse/JBWS-2591 .



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-2147) wsdl2java does not generate @XmlList with doc/lit wsdl

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2147.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.1
                   2.1.5

> wsdl2java does not generate @XmlList with doc/lit wsdl
> ------------------------------------------------------
>
>                 Key: CXF-2147
>                 URL: https://issues.apache.org/jira/browse/CXF-2147
>             Project: CXF
>          Issue Type: Sub-task
>          Components: Tooling
>    Affects Versions: 2.2
>            Reporter: Alessio Soldano
>            Assignee: Alessio Soldano
>             Fix For: 2.1.5, 2.2.1
>
>         Attachments: CXF-2147.txt
>
>
> This is related to https://jira.jboss.org/jira/browse/JBWS-2591 .
> Basically, when running the tools (wsdl -> java) the @XmlList annotation is added to the SEI only for rpc/lit wsdl as there's a check for !part.isElement().
> This prevents doc/lit bare methods from having the @XmlList annotation for both return type and parameters in the SEI.
> The use case that revealed this is the com/sun/ts/tests/jaxws/ee/w2j/document/literal/marshalltest/Client.java#MarshallListTypesTest_from_wsappclient_reverse test in the JAXWS module of JavaEE CTS TCK. It's also reproduced in a minimal testcase linked at https://jira.jboss.org/jira/browse/JBWS-2591 .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-2147) wsdl2java does not generate @XmlList with doc/lit wsdl

Posted by "Alessio Soldano (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated CXF-2147:
---------------------------------

    Attachment: CXF-2147.txt

Here is a patch for ParameterMapper and ParameterProcessor to deal with this issue and that solved our failure in the TCK.
Please evaluate it.

> wsdl2java does not generate @XmlList with doc/lit wsdl
> ------------------------------------------------------
>
>                 Key: CXF-2147
>                 URL: https://issues.apache.org/jira/browse/CXF-2147
>             Project: CXF
>          Issue Type: Sub-task
>          Components: Tooling
>    Affects Versions: 2.2
>            Reporter: Alessio Soldano
>            Assignee: Alessio Soldano
>         Attachments: CXF-2147.txt
>
>
> This is related to https://jira.jboss.org/jira/browse/JBWS-2591 .
> Basically, when running the tools (wsdl -> java) the @XmlList annotation is added to the SEI only for rpc/lit wsdl as there's a check for !part.isElement().
> This prevents doc/lit bare methods from having the @XmlList annotation for both return type and parameters in the SEI.
> The use case that revealed this is the com/sun/ts/tests/jaxws/ee/w2j/document/literal/marshalltest/Client.java#MarshallListTypesTest_from_wsappclient_reverse test in the JAXWS module of JavaEE CTS TCK. It's also reproduced in a minimal testcase linked at https://jira.jboss.org/jira/browse/JBWS-2591 .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.