Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 522C0200D5C for ; Fri, 15 Dec 2017 18:43:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 50D44160C27; Fri, 15 Dec 2017 17:43:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 95C5F160C04 for ; Fri, 15 Dec 2017 18:43:03 +0100 (CET) Received: (qmail 6621 invoked by uid 500); 15 Dec 2017 17:43:02 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 6612 invoked by uid 99); 15 Dec 2017 17:43:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Dec 2017 17:43:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DC15AC3132 for ; Fri, 15 Dec 2017 17:43:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.211 X-Spam-Level: X-Spam-Status: No, score=-99.211 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id xL9h_Bh1IGAT for ; Fri, 15 Dec 2017 17:43:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 096AB5F39D for ; Fri, 15 Dec 2017 17:43:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A01E2E129D for ; Fri, 15 Dec 2017 17:43:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2852727401 for ; Fri, 15 Dec 2017 17:43:00 +0000 (UTC) Date: Fri, 15 Dec 2017 17:43:00 +0000 (UTC) From: "Matthew Kornfield (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AXIS2-4091) WSDL11ToAxisServiceBuilder + HTTP Binding: Unused/Useless global element declations are appended into WSDL's XSD documents MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 15 Dec 2017 17:43:04 -0000 [ https://issues.apache.org/jira/browse/AXIS2-4091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16292891#comment-16292891 ] Matthew Kornfield commented on AXIS2-4091: ------------------------------------------ [~sagara] As on the other tickets, we wanted to see if you were able to add these changes since we are upgrading and want to avoid customization if possible in the future. > WSDL11ToAxisServiceBuilder + HTTP Binding: Unused/Useless global element declations are appended into WSDL's XSD documents > -------------------------------------------------------------------------------------------------------------------------- > > Key: AXIS2-4091 > URL: https://issues.apache.org/jira/browse/AXIS2-4091 > Project: Axis2 > Issue Type: Bug > Components: kernel > Affects Versions: 1.4, nightly > Environment: Windows XP. 4GB RAM Intel Xeon dual-core @2.83Ghz > Reporter: Antonio Andrade > Priority: Minor > Attachments: AXIS2-4091-trunk.patch, AXIS2-4091.patch, JUnit Tests - Before.jpg, JUnit Tests - Half of Patch.jpg > > Original Estimate: 1h > Remaining Estimate: 1h > > Observed Behavior: > 1) New XML schema global elements declarations are created and appended into WSDL's XSD documents when they should not. This is the case of message s already referencing global element declarations (through the 'element' attribute of the message part). > 2) Whether a message part requires a 'wrapped' element or not can be determine by reading the 'wrappedInput' and 'wrappedOutput' attributes of the 'BindingOperationEntry' inner class after the message part has been analyzed but the 'addPartToElement' method fails to properly set them for all cases (i.e. ignores whether the message part comes from an input or output message by ignoring the 'isOutMessage' argument received). > Expected Behavior: > 1) No XML schema global elements declarations should be added whenever message s use the 'element' attribute (i.e. already reference global element declarations). > 2) The 'addPartToElement' method should take into account the value of the 'isOutMessage' argument received to set the value of the 'wrappedInput' and 'wrappedOutput' attributes of the 'BindingOperationEntry' inner class. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org