This isn't really an axis question, but i think that this should get you on the way:

SAXParserFactory spf = new SAXParserFactory();
spf.setValidating(true);

SAXParser saxp = spf.newInstance();

saxp.parse(WHATEVER);

For further help read the Xerces API docs: http://xml.apache.org/xerces2-j/api.html

stephen



Marcin Okraszewski wrote:

Hi,
I would like to validate incoming messages against XML Schema definition, but unfortunately I don't know to do it.


Could you tell me how to do it?

Thanks in advance.
Marcin Okraszewski







Reply via email to