Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 54688 invoked from network); 2 Mar 2007 06:45:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2007 06:45:15 -0000 Received: (qmail 75750 invoked by uid 500); 2 Mar 2007 06:45:20 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 75708 invoked by uid 500); 2 Mar 2007 06:45:20 -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 75697 invoked by uid 99); 2 Mar 2007 06:45:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 22:45:20 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Thu, 01 Mar 2007 22:45:11 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0E26C7142E0 for ; Thu, 1 Mar 2007 22:44:51 -0800 (PST) Message-ID: <27509183.1172817891055.JavaMail.jira@brutus> Date: Thu, 1 Mar 2007 22:44:51 -0800 (PST) From: "Manoj Khangaonkar (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-1749) Wrong Java2WSDL generation In-Reply-To: <7393544.1164011944447.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-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manoj Khangaonkar updated AXIS2-1749: ------------------------------------- Attachment: axis2patch1749and2116-v2.txt Hi Deepal, Attached is a patch based on the latest source code in SVN. The only conflicts I saw were calls to getSimpleName and getQualifiedName - these are wrapper methods on JAM that were added. There should be no conflicts now. If you still see a conflict, please show the code that has a conflict so I can understand what the conflict is Mj > Wrong Java2WSDL generation > -------------------------- > > Key: AXIS2-1749 > URL: https://issues.apache.org/jira/browse/AXIS2-1749 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: codegen > Affects Versions: 1.1 > Reporter: Jabber W > Assigned To: Deepal Jayasinghe > Attachments: axis2-1749and2116.txt, axis2patch1749and2116-v2.txt, patch-1749.txt > > > During the generation of type definitions Java2WSDL of axis2-1.1 flattens chains of extender java data types to independent schema types without extending relations between them, while Axis121 stores these relations by . > For example: say, > class A { public String someString; public A someLink; } and > class B extends A { public int someInt; } > and the exposed service is: > class MySvc { String myOp(A arg) {..} } > Running of Java2WSDL on it: > java2wsdl -cn MySvc -xc B > creates 2 non-related types: > > > > > > > and > > > > > > > > while B should be: > > > > > > > > > > Since complexType B is not extension of ? it (the B type element) can't be passed as the someLink. -- 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