Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 3543 invoked from network); 23 Aug 2006 10:44:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2006 10:44:25 -0000 Received: (qmail 50214 invoked by uid 500); 23 Aug 2006 10:44:22 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 50178 invoked by uid 500); 23 Aug 2006 10:44:22 -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 50166 invoked by uid 99); 23 Aug 2006 10:44:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 03:44:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 03:44:21 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EB664410025 for ; Wed, 23 Aug 2006 10:41:14 +0000 (GMT) Message-ID: <11067437.1156329674961.JavaMail.jira@brutus> Date: Wed, 23 Aug 2006 03:41:14 -0700 (PDT) From: "Venkatakrishnan (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-1056) Java2Wsdl needs "extra classes" support In-Reply-To: <24924957.1156174513821.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS2-1056?page=comments#action_12429962 ] Venkatakrishnan commented on AXIS2-1056: ---------------------------------------- Hi Deepal, If you apply the patch submitted for Aixs2-1064 you need not apply this as the one there consolidates the fix for this Jira as well. Thanks - Venkat > Java2Wsdl needs "extra classes" support > --------------------------------------- > > Key: AXIS2-1056 > URL: http://issues.apache.org/jira/browse/AXIS2-1056 > Project: Apache Axis 2.0 (Axis2) > Issue Type: New Feature > Components: Tools > Reporter: Matt Parker > Assigned To: Deepal Jayasinghe > Attachments: Axis2-Java2WSDL-J1056-Aug-23.diff, buildlog.txt > > > In Axis 1, Java2Wsdl has support for "extraclasses," which allows the wsdl to generate complex types for subclasses that are possible return types for methods that return abstract classes or interfaces. For example: > One might have an abstract class "com.myCo.fruit.Fruit.java" that has the subclasses "com.myCo.fruit.FruitApple.java" and "com.myCo.fruit.FruitOrange.java". If there is a method in our service interface: > public Fruit getUsersFavoriteFruit(User user){ > return fruitService.getFavoriteFruit(user); > } > I want my WSDL to have definitions of not just Fruit, but also FruitOrange and FruitApple so my client will be able to handle those types. In Axis 1, you could add something to you ant task like: > extraclasses="com.myCo.fruit.FruitApple.java, > com.myCo.fruit.FruitOrange.java" > Is there the possibility of getting this feature in Axis2? > Thanks, > Matt -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org