axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas" <dava...@gmail.com>
Subject Re: [jira] Created: (AXIS2-1056) Java2Wsdl needs "extra classes" support
Date Mon, 21 Aug 2006 19:22:03 GMT
Venkat,

Sure. +1 from me.

-- dims

On 8/21/06, Venkata Krishnan <for.svkrish@gmail.com> wrote:
> Hi,
>
>  If the community feels that this is good thing to do, then I am interested
> in submitting a patch for this.  So let us hear from the others about this.
>
>  Thanks
>
>  - Venkat
>
>
>
>
> On 8/21/06, Matt Parker (JIRA) <jira@apache.org> wrote:
> > 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
> >
> >
> > 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
> >
> >
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message