Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5C0491019B for ; Fri, 12 Dec 2014 19:10:15 +0000 (UTC) Received: (qmail 3406 invoked by uid 500); 12 Dec 2014 19:10:15 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 3366 invoked by uid 500); 12 Dec 2014 19:10:15 -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 3353 invoked by uid 99); 12 Dec 2014 19:10:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2014 19:10:15 +0000 Date: Fri, 12 Dec 2014 19:10:15 +0000 (UTC) From: "Yuri Kr (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-6151) Apache-cxf wsdlvalidator returns error in mime:part MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-6151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244629#comment-14244629 ] Yuri Kr commented on CXF-6151: ------------------------------ Some trivial solution: Old schema file \apache-cxf-3.0.1-src\core\src\main\resources\schemas\wsdl\mime-binding.xsd must be replaced by new correct schema, which is located on http://schemas.xmlsoap.org/wsdl/mime/2004-08-24.xsd > Apache-cxf wsdlvalidator returns error in mime:part > --------------------------------------------------- > > Key: CXF-6151 > URL: https://issues.apache.org/jira/browse/CXF-6151 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 3.0.1, 3.0.2 > Environment: java version 1.8.0_20, Windows 7, Windows 8 > Reporter: Yuri Kr > > Apache-cxf wsdlvalidator returns > "WSDLValidator Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'mime:part'. One of '{part}' is expected." , > if I try to validate wsdl document with such structure: > > > > > > > > > wsdl document example from: https://github.com/wso2/wso2-axis2/blob/master/modules/xmlbeans/test-resources/mime-doc.wsdl. (I also tried other examples) > If I change "mime:part" to "part", validator returns error: > WSDLValidator Error : javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:binding/wsdl:operation[1]/wsdl:input/mime:multipartRelated/part): faultCode=INVALID_WSDL: Encountered unexpected element '{http://soapinterop.org/attachments/wsdl}part'. -- This message was sent by Atlassian JIRA (v6.3.4#6332)