Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1243 Resolve JBoss common jax-ws testsuite issues
  3. CXF-2147

wsdl2java does not generate @XmlList with doc/lit wsdl

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.1.5, 2.2.1
    • Tooling
    • None

    Description

      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 .

      Attachments

        1. CXF-2147.txt
          5 kB
          Alessio Soldano

        Activity

          People

            asoldano Alessio Soldano
            asoldano Alessio Soldano
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: