On 10/9/07, Dennis Sosnoski <[EMAIL PROTECTED]> wrote: > XMLBeans actually does very little in the way of schema enforcement, not > even checking for required elements and attributes. Ooops.... My bad... I remembered it the other way :(
thanks, Thilina > > For anyone who *does* want to validate messages (generally a good idea > at least in testing), there's a validation module I wrote for use in > Axis2 training classes and made public. You can find the details at > http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/validation > > - Dennis > > -- > Dennis M. Sosnoski > SOA and Web Services in Java > Axis2 Training and Consulting > http://www.sosnoski.com - http://www.sosnoski.co.nz > Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 > > > > Thilina Gunarathne wrote: > > Hi, > > AFAIK Axis2 does not do any XSD validation unless you use data binding. > > XML to java object conversion that happens when you have used data > > binding, expects the message to conform to the schema. > > > > IIRC XMLBeans enforces this heavily, while ADB use it only when > > absolutely necessary. There are some switches like "backword > > compatibility mode" which you can use when code generating(data > > binding) to reduce the enforcement of some schema constructs. > > > > In other words, you cannot turn off schema validation completely if > > you are using data binding. > > > > thanks, > > Thilina > > > > On 10/8/07, Ritesh Tarway <[EMAIL PROTECTED]> wrote: > > > >> Is there a way to turn off XSD validation in production env? I would want > >> it > >> to be a flag in axis configuration to turn off validation globally for all > >> deployed services? > >> > >> platform information : Axis2/Java Version 1.3 , deployed on tomcat or > >> websphere, using sun's JVM ( jdk 1.5.0) > >> -- > >> Ritesh Tarway > >> Bangalore, India > >> +91-9945365635 > >> > >> <Matrix:Revolution> > >> Seraph: Did you always know? > >> The Oracle: Oh, no. No, I didn't. But I believed... I believed. > >> > >> -- > >> Ritesh Tarway > >> Bangalore, India > >> +91-9945365635 > >> > >> <Matrix:Revolution> > >> Seraph: Did you always know? > >> The Oracle: Oh, no. No, I didn't. But I believed... I believed. > >> > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Thilina Gunarathne - http://thilinag.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
