You could implement using an interceptor, which would set the Message.SCHEMA_VALIDATION_ENABLED to Boolean.False. You just need to be sure the interceptor is registered earlier than the Data Binding interceptor.
For 2.2 I would not have a clue what that would be. It's ancient On Tue, Nov 27, 2012 at 9:16 PM, Kamel ZOUBA <[email protected]> wrote: > Thanks, > > But I'm working on CXF 2.2.12, in a large project where I cannot upgrade the > version, fair of impact it can cause. > There is no other way to do it? > > Sincerely, > Kamel ZOUBA > > -----Message d'origine----- > De : [email protected] [mailto:[email protected]] De la part de Jason > Pell > Envoyé : mardi 27 novembre 2012 10:56 > À : [email protected] > Objet : Re: one way schema validation > > Be aware that in 2.7.0 if you use MTOM there is a regression that is fixed in > 2.7.1 with the jira: > > https://issues.apache.org/jira/browse/CXF-4551 > > I have also committed a patch to support configuring schema validation at the > operation level too - > https://issues.apache.org/jira/browse/CXF-4610 > > Not sure if that is useful for you or not. > > Let me know if you have any issues as I am actively working in this area. > > Cheers > Jason > > On Tue, Nov 27, 2012 at 8:22 PM, Freeman Fang <[email protected]> wrote: >> Hi, >> >> Yeah, it's possible since CXF 2.7.0 or CXF 2.6.3. >> >> Take a look at the CXF-3813[1] which track this issue >> [1]https://issues.apache.org/jira/browse/CXF-3813 >> ------------- >> Freeman(Yue) Fang >> >> Red Hat, Inc. >> FuseSource is now part of Red Hat >> Web: http://fusesource.com | http://www.redhat.com/ >> Twitter: freemanfang >> Blog: http://freemanfang.blogspot.com >> http://blog.sina.com.cn/u/1473905042 >> weibo: http://weibo.com/u/1473905042 >> >> On 2012-11-27, at 下午4:36, Kamel ZOUBA wrote: >> >>> Hello, >>> >>> How can I use schema validation for jaxws endpoint to validate just a >>> request without a response? >>> >>> Thanks, >>> >>> >>> Sincerely, >>> Kamel ZOUBA >>> >>> >>> Ce message et toutes les pièces jointes sont établis à l'intention >>> exclusive de ses destinataires et sont confidentiels. Si vous recevez ce >>> message par erreur, merci de le détruire et d'en avertir immédiatement >>> l'expéditeur. >>> >>> The information contained in this e-mail and any attachments are intended >>> solely for the addressees. If you have received this email in error, please >>> contact the sender and delete the email from your system. >>> >> > > > > > Ce message et toutes les pièces jointes sont établis à l'intention exclusive > de ses destinataires et sont confidentiels. Si vous recevez ce message par > erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur. > > The information contained in this e-mail and any attachments are intended > solely for the addressees. If you have received this email in error, please > contact the sender and delete the email from your system.
