1 Reply Latest reply on Jan 3, 2013 9:08 AM by cardmobili.hugog

    SOAP WS: Disable schema validation - JBoss 7.1/Seam 2.3

    cardmobili.hugog

      I'm trying to disable schema validation for all SOAP webservices.

       

      Following the documentation I tried to set this property at standalone.xml:

      <endpoint-config name="Standard-Endpoint-Config">

              <property name="schema-validation-enabled" value="true"/>

      </endpoint-config>

       

      But the error persists:

      21:02:35,461 WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (http--0.0.0.0-8080-4) Interceptor for (...) Error: unexpected element (uri:"", local:"requestImageTypeFlagSpecified"). Expected elements are (...)

      Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"requestImageTypeFlagSpecified").

       

      How can I disable the xsd schema validation?

       

      Many thanks