Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-516 Replace the old java2wsdlProcess to use JaxWsServiceBuilder to generate wsdl
  3. CXF-561

javatowsdl generates duplicate schemas when @RequestWrapper does not contain namespace element

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-RC
    • 2.0
    • Tooling
    • None

    Description

      javatowsdl generates duplicate schemas when @RequestWrapper does not contain namespace element. This is because JAXB found the wrapper request bean then generated a schem under the namespace specified in the wrapper bean. Then ReflectionServiceFactoryBean generated a schema again for wrapper under the namespace specificed by @RequestWrapper, in this case, @RequestWrapper does not have namespace, so it defaults to the package name.

      see JaxwsServiceBuilderTest.testDocWrappedWithLocalName()

      Attachments

        Activity

          People

            jliu Jervis Liu
            jliu Jervis Liu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: