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 043D2186E3 for ; Mon, 10 Aug 2015 12:46:46 +0000 (UTC) Received: (qmail 94083 invoked by uid 500); 10 Aug 2015 12:46:45 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 94051 invoked by uid 500); 10 Aug 2015 12:46:45 -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 93991 invoked by uid 99); 10 Aug 2015 12:46:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Aug 2015 12:46:45 +0000 Date: Mon, 10 Aug 2015 12:46:45 +0000 (UTC) From: "Yuri Kr (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CXF-6488) Binding style vs part type R2203 And R2204 problems in wsdl document 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-6488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuri Kr updated CXF-6488: ------------------------- Description: Why Apache-cxf wsdl validator returns error: "WSDLValidator Error : A document-literal binding in a DESCRIPTION MUST refer, in each of its soapbind:body element(s),only to wsdl:part element(s) that have been defined using the element attribute." Validator takes messages' parts from operations despite of style of usage (mime:content here) and returns error if soap binding style does not match part type/element. At the same time this document is marked as correct on http://www.ws-i.org web page. So i do not understand, is it an apache-cxf bug or ws-i web page does not follow their standards? validating following document http://www.ws-i.org/profiles/attachmentsprofile-1.0.html#Referencing_Attachments_from_the_SOAP_Envelope (here it is correct): {code:xml} {code} was: Why Apache-cxf wsdl validator returns error: "WSDLValidator Error : A document-literal binding in a DESCRIPTION MUST refer, in each of its soapbind:body element(s),only to wsdl:part element(s) that have been defined using the element attribute." validating following document http://www.ws-i.org/profiles/attachmentsprofile-1.0.html#Referencing_Attachments_from_the_SOAP_Envelope (here it is correct): {code:xml} {code} > Binding style vs part type R2203 And R2204 problems in wsdl document > -------------------------------------------------------------------- > > Key: CXF-6488 > URL: https://issues.apache.org/jira/browse/CXF-6488 > Project: CXF > Issue Type: Bug > Components: Tooling, WS-* Components > Affects Versions: 3.0.1 > Environment: apache-cxf 3.0.1 > Reporter: Yuri Kr > > Why Apache-cxf wsdl validator returns error: > "WSDLValidator Error : A document-literal binding in a DESCRIPTION MUST refer, in each of its soapbind:body element(s),only to wsdl:part element(s) that have been defined using the element attribute." > Validator takes messages' parts from operations despite of style of usage (mime:content here) and returns error if soap binding style does not match part type/element. At the same time this document is marked as correct on http://www.ws-i.org web page. So i do not understand, is it an apache-cxf bug or ws-i web page does not follow their standards? > validating following document http://www.ws-i.org/profiles/attachmentsprofile-1.0.html#Referencing_Attachments_from_the_SOAP_Envelope (here it is correct): > {code:xml} > > xmlns:ref="http://ws-i.org/profiles/basic/1.1/xsd" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:soapbind="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" > targetNamespace="http://example.com/mimewsdl" > xmlns:tns="http://example.com/mimewsdl"> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > > > > > > > > > > > > > > > > > > > > > > > > > transport="http://schemas.xmlsoap.org/soap/http"/> > > > > > > > > > > > > > > > > > > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)