Re: XML Schama message validation.

2003-09-23 Thread Marcin Okraszewski
2) You can write a message style service with below signature. public Element [] method(Element [] bodies); public SOAPBodyElement [] method (SOAPBodyElement [] bodies); public Document method(Document body); public void method(SOAPEnvelope req, SOAPEnvelope resp); And then you can validate it usi

Re: XML Schama message validation.

2003-09-22 Thread Dimuthu Leelarathne
- Original Message - From: "Dimuthu Leelarathne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 22, 2002 9:46 AM Subject: Re: XML Schama message validation. > Hi Marcin, > > I guess you manually want to validate. I point out two w

Re: XML Schama message validation.

2003-09-22 Thread Tony Opatha
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 do

Re: XML Schama message validation.

2003-09-22 Thread Marcin Okraszewski
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

Re: XML Schama message validation.

2003-09-21 Thread Dimuthu Leelarathne
ewski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 22, 2003 12:13 AM Subject: XML Schama message validation. > Hi, > I would like to validate incoming messages against XML Schema > definition, but unfortunately I don't know to do it

Re: XML Schama message validation.

2003-09-21 Thread Stephen Gordon
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.

XML Schama message validation.

2003-09-21 Thread Marcin Okraszewski
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