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

wsdl2java tool should always use catalog to resovle the overwriten url firstly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.3, 2.4
    • Tooling
    • None

    Description

      recently there're two tests failure
      org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest.testCatalog2
      org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest.testCatalog3

      those tests use catalog to overwrite a dummy url http://example.org/wsdl to the local addNumbers.wsdl, however, the current logic is check the dummy url first and if it failed then use catalog resolver, that's not a problem if
      http://example.org/ doesn't exist at all, but lately there's a site http://example.org/ so get no chance to use the catalog resolver which we intend to use, so that we get those test failure.

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: