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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content