How to read XML schemas from the WAR in the application server? The WAR is not supposed to be opened or exploded in the application server. The problem is perhaps that the main schema file is read, but not the schemas, which are imported. The solution could not use servlet context, because it has to work with SOAP HTTP and JMS. could not be used in the Websphere 7.
produces the exception
My schema imports other schema with the namespace and references the element there.
When I'am creating the with the same schema outside of the WAR everything goes well. So I think that XML schema validator can't handle imports inside WAR.
If you have experience in this issue it would be glad to hear.