Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6621

Schema imports are not handled correctly in generated WSDL and XSD files when using catalog rewrites

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.18, 3.0.7, 3.1.4
    • JAX-WS Runtime
    • None
    • Unknown

    Description

      Situation:

      • jax-ws-catalog.xml contains:
        <rewriteSystem systemIdStartString="http://apache.org/xsd/" rewritePrefix="classpath:/xsd/"/>
        
      • WSDL structure:
        /wsdl/service.wsdl - imports "http://apache.org/xsd/schema.xsd"
        /xsd/schema.xsd
        

      Problem:
      When accessing "?xsd=http://apache.org/xsd/schema.xsd", import of "d/included.xsd" is not transformed into "?xsd=" form.

      Attachments

        1. getwsdl_problem.zip
          16 kB
          Tomas Hofman

        Issue Links

          Activity

            People

              asoldano Alessio Soldano
              thofman Tomas Hofman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: