[jboss-user] [JBoss Web Services] - Re: Schema Validation - Failed to read schema document
do-not-reply at jboss.com
do-not-reply at jboss.com
Tue Nov 9 18:22:24 EST 2010
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&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101109/763d8fa3/attachment.html
More information about the jboss-user
mailing list