You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ji...@apache.org on 2004/03/22 16:13:58 UTC

[jira] Commented: (AXIS-293) Java2WSDL --all is ignored

The following comment has been added to this issue:

     Author: Davanum Srinivas
    Created: Mon, 22 Mar 2004 7:13 AM
       Body:
There are many build.xml's in the tests that use useInheritedMethods...what should we do with them? Should we clean up the ant task too?
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-293&page=comments#action_26447

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-293

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-293
    Summary: Java2WSDL --all is ignored
       Type: Bug

     Status: Open

    Project: Axis
 Components: 
             Deployment / Registries
   Versions:
             current (nightly)

   Assignee: Axis Developers Mailing List
   Reporter: Rich Scheuerle

    Created: Thu, 29 Aug 2002 7:20 PM
    Updated: Mon, 22 Mar 2004 7:13 AM
Environment: Operating System: Other
Platform: Other

Description:
The default behaviour of Java2WSDL is to only look in the specified
interface/class for Methods.  The --all option is used to indicate
that all of the inherited interfaces/classes (excluding java/javax)
should be searched.

Apparently after Java2WSDL was switched to use a ServiceDesc implementation,
this functionality was broken.  The current behaviour always searches
all inherited interfaces/classes, and the --all option is never queried.

So there are a couple choices for fixing this.

1) Remove the --all option alltogether. 
   I don't like this choice because I think it may be useful to only
   export methods from a derived interface/class.  

2) Support the --all option (actually I would like to change the option
   to something better like --considerInherits)
   To support the option, changes would be needed to ServiceDesc
   so that one could tell the ServiceDesc to never dive into the super classes
   to construct OperationDescs.  Changes would also be needed in
   WSDDService to get the option.

Any comments ?


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira