Isn't there an approach to include XSD Schema Validation Interceptor
to support validation of incoming and outgoing SOAP message payload
document instances?
Thanks.
Marcin Okraszewski <[EMAIL PROTECTED]> wrote:
But in this way I can only parse some input stream. Axis provides
already built DOM document (not an input stream), so I would have to
write a message somewhere and than read it again. I suppose that there
is some better solution!
Marcin
U?ytkownik Stephen Gordon napisa?:
> 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
>>
>>
>>
>
>
>
--
-------------------------------------------------------------
Marcin Okraszewski
[EMAIL PROTECTED] GG: 341942
[EMAIL PROTECTED] PGP: www.okrasz.prv.pl/pgp.asc
-------------------------------------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
