-
Bug
-
Resolution: Done
-
Major
-
7.4.3.GA
The attached gradle project contains a WSDL file which imports a XSD and it, in turn, imports another two XSD files with the same name but located in different directories. It triggers incorrect resolution of the XSD files. The structure is the following:
1) MyWebservice.wsdl 1.1) imports schema/MyWebservice.xsd -> schema/MyWebservice.xsd 1.1.1) imports ../../../common/common.xsd -> ../../common/common.xsd 1.1.2) imports ../../common/common.xsd -> ../common/common.xsd 1.1.2.1) imports ../../common/common.xsd -> ../../common/common.xsd
The resulting imports are:
1) http://localhost:8080/wsdl-test/MyWebservice?wsdl (OK) 1.1) http://localhost:8080/wsdl-test/MyWebservice?xsd=schema/MyWebservice.xsd (OK) 1.1.1) http://localhost:8080/wsdl-test/MyWebservice?xsd=../../common/common.xsd (KO) 1.1.2) http://localhost:8080/wsdl-test/MyWebservice?xsd=../common/common.xsd (OK) 1.1.2.1) http://localhost:8080/wsdl-test/MyWebservice?xsd=../../common/common.xsd (KO)
The URL http://localhost:8080/wsdl-test/MyWebservice?xsd=../../common/common.xsd in 1.1.1 returns invalid content. The content is the file in 1.1.2 (not 1.1.1) and besides the contained import is not rewritten in its location.
- is incorporated by
-
JBEAP-23546 [GSS](7.4.z) Upgrade Apache CXF from 3.3.12 to 3.3.13+
- Closed
- links to