Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 55074 invoked from network); 7 Oct 2008 14:54:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Oct 2008 14:54:38 -0000 Received: (qmail 12652 invoked by uid 500); 7 Oct 2008 14:54:34 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 12595 invoked by uid 500); 7 Oct 2008 14:54:34 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 12583 invoked by uid 99); 7 Oct 2008 14:54:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 07:54:34 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE 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; Tue, 07 Oct 2008 14:53:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9A477234C219 for ; Tue, 7 Oct 2008 07:53:44 -0700 (PDT) Message-ID: <1255528412.1223391224630.JavaMail.jira@brutus> Date: Tue, 7 Oct 2008 07:53:44 -0700 (PDT) From: "Antonio Andrade (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-4058) WSDL11ToAxisServiceBuilder: the wrapped attribute of the AxisMessage class is not being populated In-Reply-To: <1507566015.1222816184239.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Andrade updated AXIS2-4058: ----------------------------------- Attachment: AXIS2-4058.patch Patch to WSDL11ToAxisServiceBuilder class: populating the wrapped attribute of the AxisMessage class while the bindings are being populated. > WSDL11ToAxisServiceBuilder: the wrapped attribute of the AxisMessage class is not being populated > ------------------------------------------------------------------------------------------------- > > Key: AXIS2-4058 > URL: https://issues.apache.org/jira/browse/AXIS2-4058 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: kernel > Affects Versions: 1.4, nightly > Environment: Windows XP. 4GB RAM Intel Xeon dual-core @2.75Ghz > Reporter: Antonio Andrade > Priority: Minor > Attachments: AXIS2-4058.patch > > Original Estimate: 6h > Remaining Estimate: 6h > > Observed Behavior: > 1) The wrapped attribute of the AxisMessage class is not being populated by the WSDL11ToAxisServiceBuilder class. The information is persisted in its BindingOperationEntry inner class (through the wrappedInput and wrappedOutput attributes) but it's never set into the appropriate AxisMessage instance. > 2) In AxisMessage, the wrapped attribute defaults to 'true' when it should not (see attribute declaration/initialization). Note that BindingOperationEntry, the wrappedInput and wrappedOutput attributes default to 'true'. This IS perfectly fine since BindingOperationEntry objects are only instantiated whenever the encoding style for the operation is RPC/Literal of when the binding is HTTP and the message parts reference type definitions so it's OK for them to default to 'true'. > Expected Behavior: > 1) The wrapped attribute of the AxisMessage class should be populated by the WSDL11ToAxisServiceBuilder class while the bindings are being populated (see WSDL11ToAxisServiceBuilder.populateBinding method) just before the addQNameReference methods are called. > 2) In AxisMessage, the wrapped attribute should be initialized (either explicitly or implicitly) to 'false' and the DocLitBareSchemaGenerator.processMethods method should be updated accordingly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org