2 Replies Latest reply on May 24, 2007 1:10 AM by king_country2000

    schema validation for xml

    tejasjani

      Hi,

      I am trying to find out if incoming xml document for a doc/literal service is going to be validated at runtime against the schema specified in the wsdl file.
      I am using JBossWS 1.0.4 with JBoss 4.0.5GA.

      If not then how does one perform this validation.

      thanks in advance

        • 1. Re: schema validation for xml
          jason.greene

          Yes it is validated, but it is not as thoroughly validated as an offline schema validation tool. This is mainly because of the large performance overhead that is introduced. Currently we don't have an option to use a strict validator, although feel free to create a feature request for it. You could also implement this yourself using a handler that calls out to JAXP.

          • 2. Re: schema validation for xml
            king_country2000

            How can one access the Schema generated (the ones in the WSDL file) in the Java code..