Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 78113 invoked from network); 27 Aug 2007 09:49:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Aug 2007 09:49:58 -0000 Received: (qmail 20551 invoked by uid 500); 27 Aug 2007 09:49:48 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 20493 invoked by uid 500); 27 Aug 2007 09:49:48 -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 20482 invoked by uid 99); 27 Aug 2007 09:49:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2007 02:49:48 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2007 09:49:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 821FF714210 for ; Mon, 27 Aug 2007 02:49:31 -0700 (PDT) Message-ID: <8422896.1188208171527.JavaMail.jira@brutus> Date: Mon, 27 Aug 2007 02:49:31 -0700 (PDT) From: "Amila Chinthaka Suriarachchi (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-2609) Incorrectly generated stub functions In-Reply-To: <13834433.1177965796226.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-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522968 ] Amila Chinthaka Suriarachchi commented on AXIS2-2609: ----------------------------------------------------- soap body parts is optional it is correct. But where the spec says what to do when the parts absent. As you have told most of the people do not use the parts element since it is optional. but they expect the message part goes through the wire. So Axis2 has implement it as in that way. But if you want not to say something then you have to specify parts="". > Incorrectly generated stub functions > ------------------------------------- > > Key: AXIS2-2609 > URL: https://issues.apache.org/jira/browse/AXIS2-2609 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: codegen > Affects Versions: 1.2 > Reporter: Gul Onural > Assignee: Amila Chinthaka Suriarachchi > Priority: Blocker > Attachments: test.zip > > > The release 1.2 wsdl2 java generates incorrect stub functions for the operations that has header part only, no payload. > This was correctly done with version axis2 1.1.1. Something changed in between the two releases in this area is causing the problem. > For example, operation and message are defined something similar to : > > > > > > > > The generated stubs contains the id twice : > public com.mycompany.QueryXResponseDocument queryX( > com.mycompany.IdDocument id2, > com.mycompany.IdDocument id3) > throws java.rmi.RemoteException > { > ... > } -- 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