8 Replies Latest reply on Apr 14, 2015 5:16 PM by asoldano

    Wildfly 8.2.0.Final schema validation problem

    oguz_karakus

      Hi all,

       

      after migrating from 8.1 to 8.2, schema validation for web services does not work anymore.


      In our web service class, we have the @SchemaValidation (com.sun.xml.ws.developer.SchemaValidation) annotation and in standalone.xml we got the configuration to trigger schema validation:

       <subsystem xmlns="urn:jboss:domain:webservices:1.2">
                  <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
                  <endpoint-config name="Standard-Endpoint-Config">
                      <property name="schema-validation-enabled" value="true"/>
                  </endpoint-config>
                  <endpoint-config name="Recording-Endpoint-Config">
                      <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
                          <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
                      </pre-handler-chain>
                  </endpoint-config>
                  <client-config name="Standard-Client-Config"/>
              </subsystem>
      <subsystem xmlns="urn:jboss:domain:weld:2.0"/>
      

       

      This combination works fine on 8.1 but not on 8.2. Is there something i am missing on the configuration?

       

      Regards,

      Oğuz