JBoss Community

Re: Schema Validation - Failed to read schema document

created by andreas_back in JBoss Web Services - View the full discussion

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"
                schemaLocation="schema/Types.xsd" />

     ...

 

and prevented the reported error.

 

Greetings

 

Andreas

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community