JBoss is incorrectly deploying WARs which have XSD schemas with the same names under different subdirectories

Solution Verified - Updated -

Issue

If a war has a structure similar to:

meta-inf/xsd/request/main.xsd 
                  /schema1.xsd(imported by main)
                  /schema2.xsd(imported by main)
meta-inf/xsd/response/main.xsd 
                  /schema1.xsd(imported by main)
                  /schema2.xsd(imported by main)

What occurs. in the folder data/wsdl/achiver/meta-inf/xsd/response/ only the main.xsd is unpacked. the accompany schemaN.xsd files are not unpacked. this cause validation failures on the xsd because it cannot file the schema1. and schema2.xsd files. which it expects to be on the path. Whats interesting is the full contents of the request folder is extracted while only the main.xsd is extracted in the response folder

Environment

  • JBoss Enterprise Application Platform 5.1.{1, 2}
  • JBoss Enterprise SOA Platform 5.{2,3}.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.