Jennifer Actually in the doc/lit case it would be pretty easy to validate against the WSDL, but in general its a bit harder. Synapse already does validation if you are willing to specify the XSD. It would be fairly simple to extend that to validate using the WSDL - as long as its doc/lit.
Paul On Thu, Oct 2, 2008 at 6:09 PM, Chen, Jennifer <[EMAIL PROTECTED]> wrote: > I did some testing, for ADB beans, most of the validations are there, but > it's not complete. At least decimal precision is NOT validated. Do you > have an example of writing a handler to validate the xml message against a > WSDL file? > > Thanks, > > Jennifer > ________________________________ > From: keith chapman [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 02, 2008 12:35 PM > To: axis-user@ws.apache.org > Subject: [LIKELY JUNK]Re: [axis2] Automatic schema validation > > I think you would get some form of validation if you use generated code on > the server. i.e If a message is sent with a missing element the > MessageReceiver will detect this and throw a fault. Also this comes without > any additional cost. It will also check minoccurs and nillable attributes. > > Thanks, > Keith. > > On Thu, Oct 2, 2008 at 8:45 PM, Jake Goulding <[EMAIL PROTECTED]> wrote: >> >> Hey all: >> >> Is there any way to have Axis automatically check the incoming (and >> potentially the outgoing) XML against the schema(s) originally provided in >> the WSDL? I did a search online, but didn't see anything that seems too >> likely. >> >> Thanks! >> >> -Jake >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > > > -- > Keith Chapman > Senior Software Engineer > WSO2 Inc. > Oxygenating the Web Service Platform. > http://wso2.org/ > > blog: http://www.keith-chapman.org > -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]