Bug 779722 (SOA-2084)
Summary: | EBWS: deployment fails with xsd in nested locations and <xs:import ../> | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Martin Weiler <mweiler> | ||||
Component: | JBossESB | Assignee: | Kevin Conner <kevin.conner> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 5.0.0 GA | ||||||
Target Milestone: | --- | ||||||
Target Release: | 5.0.2 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | http://jira.jboss.org/jira/browse/SOA-2084 | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-05-28 13:16:18 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Martin Weiler
2010-05-14 10:00:27 UTC
Attaching a modified version of the publish_as_webservice quickstart of SOA-P 5 to reproduce this issue. The *.xsd files have been moved into the META-INF folder, and the inXsd/outXsd/faultXsd have been modified accordingly, eg. inXsd="/META-INF/request.xsd". Attachment: Added: publish_as_webservice_soa50.zip Link: Added: This issue depends JBESB-3322 Updated in the ESB codebase, will be in the next merge. Verified in SOA-P 5.0.2 CR1, production profile. Deployment of the ESB service is successful, all imported XSD files (including nested imports) can be resolved without any problems. Added to the SOA 5.0.2 release notes as resolved: JBESB-3322 ESB archives would fail to deploy if they referenced xsd files that contained <xs:import ../> element:s. When the deployment was attempted an exception IllegalArgumentException.would be thrown. This has been fixed and all all imported XSD files (including nested imports) can be resolved without any problems. The import will only fail if the original schema was not in the top level of the deployment, for example included in the META-INF directory, as the referenced imports/includes would be made from the top level rather than where the schema was located. udpated release note content: ESB archives could fail to deploy if they contained XSD files that were not in the root directory of the archive. If the XSD file was in a sub-directory of the archive and contained <xs:import ../> statements, deployment would fail and thrown an exception (IllegalArgumentException). This was because the paths for import elements where resolved from the root of the archive and not from the location of the XSD file. This has been fixed and the paths for imported XSD files (including nested imports) are resolved correctly. |