Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 38550 invoked from network); 19 Feb 2010 01:09:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Feb 2010 01:09:00 -0000 Received: (qmail 70426 invoked by uid 500); 19 Feb 2010 01:09:00 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 70368 invoked by uid 500); 19 Feb 2010 01:08:59 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 70358 invoked by uid 99); 19 Feb 2010 01:08:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 01:08:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 01:08:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E510329A0016 for ; Thu, 18 Feb 2010 17:08:27 -0800 (PST) Message-ID: <281510583.376111266541707936.JavaMail.jira@brutus.apache.org> Date: Fri, 19 Feb 2010 01:08:27 +0000 (UTC) From: "Dennis Sosnoski (JIRA)" To: issues@cxf.apache.org Subject: [jira] Closed: (CXF-2679) wsdlvalidator does not allow extensibility elements In-Reply-To: <592411329.353761266489447912.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Sosnoski closed CXF-2679. -------------------------------- Resolution: Not A Problem As Dan pointed out in CXF-2680, the schema in the WSDL 1.1 description is not the one in use. Which makes the whole concept of "validating" WSDL a bit suspect, at best, but it's a worthwhile goal. > wsdlvalidator does not allow extensibility elements > --------------------------------------------------- > > Key: CXF-2679 > URL: https://issues.apache.org/jira/browse/CXF-2679 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.2.5 > Reporter: Dennis Sosnoski > Attachments: library-username.wsdl > > > When running WSDLToJava with the -validate flag a WSDL with WS-Policy extensions following the element is rejected, with the message: > [java] WSDLToJava Error: > [java] line 258 column 64 of file:/home/dennis/devworks/jws13/jws13code/library-username.wsdl: cvc-complex-type.2.4.a: Invalid content was found starting with element 'wsp:Policy'. One of '{"http://schemas.xmlsoap.org/wsdl/":import, "http://schemas.xmlsoap.org/wsdl/":types, "http://schemas.xmlsoap.org/wsdl/":message, "http://schemas.xmlsoap.org/wsdl/":portType, "http://schemas.xmlsoap.org/wsdl/":binding, "http://schemas.xmlsoap.org/wsdl/":service}' is expected. > The WSDL 1.1 schema definition has this definition for the wsdl:definitions type: > > > > > > > > > > > > > to support extensibility elements > > > > > > > > > which allows for elements from other namespaces following the wsdl:service element. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.