Bug 1060355 - [GSS] (6.3.0) Schema validation + multiple schema imports in same namespace + catalog lookup doesn't work
Summary: [GSS] (6.3.0) Schema validation + multiple schema imports in same namespace +...
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web Services
Version: 6.2.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: DR0
: EAP 6.3.0
Assignee: Alessio Soldano
QA Contact: Rostislav Svoboda
Russell Dickenson
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: 1040731
TreeView+ depends on / blocked
 
Reported: 2014-01-31 22:07 UTC by Kyle Lape
Modified: 2018-12-04 17:16 UTC (History)
3 users (show)

(edit)
An issue that caused the algorithm in `org.apache.cxf.wsdl.EndpointReferenceUtils.SchemaLSResourceResolver#resolveResource` to not resolve the correct schema and return only the first schema it found has been corrected with an upgrade to the CXF component.
Clone Of:
: 1062691 (view as bug list)
(edit)
Last Closed: 2014-06-28 15:37:14 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Apache JIRA CXF-5532 None None None Never

Description Kyle Lape 2014-01-31 22:07:18 UTC
Catalog lookup is enabled to prevent requests to third party servers, and the third party schema referenced in the WSDL references multiple schemas in the same namespace.

When schema validation is enabled, the algorithm in org.apache.cxf.wsdl.EndpointReferenceUtils.SchemaLSResourceResolver#resolveResource does not resolve the correct schema since in the above scenario it falls back to namespace-only resolution, which returns the first schema it sees.  This can be fixed by trying to resolve on only the "filename" before resorting to namespace-only resolution.

Comment 2 Kabir Khan 2014-04-04 14:57:20 UTC
Setting to ON_QA since upgrade should fix this

Comment 3 Petr Sakař 2014-04-08 13:27:08 UTC
Verified with verifier from BZ1062691 for EAP-6.3.0.ER1


Note You need to log in before you can comment on or make changes to this bug.