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) <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to