Hi Ritesh, I'm surprised to see this, since as I said in my prior email XMLBeans does very little in the way of schema validation by default. You can manually validate the data, but unless the generated code includes the validation I don't know why you'd be running into problems.
What kind of error are you getting? - 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 Ritesh Tarway wrote: > Unluckily my service has been generated using wsdl2java tool with xmlbeans > binding....so xsd validation will be turned on..... > alright.....i think there is some 3rd party custom module to turn off > validation if i use jibx binding....is there any such thing for xml beans?? > > > On 10/8/07, Thilina Gunarathne <[EMAIL PROTECTED]> 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. >>> >> -- >> Thilina Gunarathne - http://thilinag.blogspot.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
