Return-Path: Delivered-To: apmail-incubator-cxf-user-archive@locus.apache.org Received: (qmail 54246 invoked from network); 9 Nov 2007 12:50:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2007 12:50:00 -0000 Received: (qmail 43751 invoked by uid 500); 9 Nov 2007 12:49:47 -0000 Delivered-To: apmail-incubator-cxf-user-archive@incubator.apache.org Received: (qmail 43719 invoked by uid 500); 9 Nov 2007 12:49:47 -0000 Mailing-List: contact cxf-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-user@incubator.apache.org Delivered-To: mailing list cxf-user@incubator.apache.org Received: (qmail 43710 invoked by uid 99); 9 Nov 2007 12:49:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 04:49:47 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 12:50:26 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IqTId-0004xk-QQ for cxf-user@incubator.apache.org; Fri, 09 Nov 2007 04:49:27 -0800 Message-ID: <13666392.post@talk.nabble.com> Date: Fri, 9 Nov 2007 04:49:27 -0800 (PST) From: Adrian C To: cxf-user@incubator.apache.org Subject: Re: schema validation In-Reply-To: <200711081714.31412.dkulp@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: adrian.corcoran@gmail.com References: <13646130.post@talk.nabble.com> <200711081713.18161.dkulp@apache.org> <200711081714.31412.dkulp@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Hi Dan, Thanks for your help as always - looks like upgrading to 2.0.3 & upgrading XMLSchema resolved this issue. The only issue I have with this now is with xsd:restriction - they are not annotated, not supported, so am forced to reference the wsdl, not big deal, this works I am however still having problems with the schema validation & mtom. Its faily obvious why its breaking, however I would thought that there could be some iffing about butting around the mtom (attachement in/out interceptor).. i.e. before mtom'ing perform schema validation if enabled, and them remove mark as being validated... Or is it designed to work this way? dkulp wrote: > > > Forgot to mention, 2.0.3 is being voted on now. You can download the > release candidate from: > http://people.apache.org/~dkulp/stage_cxf/2.0.3-incubator-take1/dist/ > > (That may fix your mtom validation issue as well, not really sure though) > > Dan > > > On Thursday 08 November 2007, Daniel Kulp wrote: >> On Thursday 08 November 2007, Adrian C wrote: >> > With jaxb if schema validation is turned on should validation work >> > if the wsld is not defined for the webservice? Am seeing errors when >> > I do this - I though that the schema/wsld could be generated from >> > the classes? >> >> In theory, it should. I'm not sure how well tested it is though. >> >> I'd love to see any test cases if there is an issue. Also, >> definitely try with 2.0.3. We upgraded to a newer version of >> XmlSchema to fix SOME issues where the schema was losing some needed >> information. (such as whether a base64 thing was mtom enabled or >> not). Thus, 2.0.3 may fix some of the isssues. > > > > -- > J. Daniel Kulp > Principal Engineer > IONA > P: 781-902-8727 C: 508-380-7194 > daniel.kulp@iona.com > http://www.dankulp.com/blog > > -- View this message in context: http://www.nabble.com/schema-validation-tf4770643.html#a13666392 Sent from the cxf-user mailing list archive at Nabble.com.