andreas_back [
http://community.jboss.org/people/andreas_back] created the discussion
"Re: Schema Validation - Failed to read schema document"
To view the discussion, visit:
http://community.jboss.org/message/570377#570377
--------------------------------------------------------------
Hello,
the schemaLocation "META-INF/wsdl/schema/Types.xsd" in
@SchemaValidation(enabled = true,
schemaLocation="META-INF/wsdl/schema/Types.xsd")
and the schema at META-INF/wsdl/schema/Types.xsd in the jar-File of the ejb-project
enabled
* predefined WSDL (for example wsdlLocation =
"WEB-INF/VariantenSHKLogik_service.wsdl")
* the usage schema validiation, see @SchemaValidation(enabled = true)
* and the import of a schema form the wsdl
...
<types>
<xs:schema>
<xs:import
namespace="
http://service.shk-variantenkonfigurator.de/types
http://service.shk-variantenkonfigurator.de/types"
schemaLocation="schema/Types.xsd" />
...
and prevented the reported error.
Greetings
Andreas
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/570377#570377]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]