axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12174] New: - Java2WSDL --all is ignored
Date Thu, 29 Aug 2002 19:20:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12174>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12174

Java2WSDL --all is ignored

           Summary: Java2WSDL --all is ignored
           Product: Axis
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Deployment / Registries
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: scheu@us.ibm.com


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 ?

Mime
View raw message