[ http://issues.apache.org/jira/browse/AXIS2-1056?page=all ]
Deepal Jayasinghe reassigned AXIS2-1056:
----------------------------------------
Assignee: Deepal Jayasinghe
> 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
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]