Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 70400 invoked from network); 11 Jan 2004 15:14:34 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Jan 2004 15:14:34 -0000 Received: (qmail 270 invoked by uid 500); 11 Jan 2004 15:14:26 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 205 invoked by uid 500); 11 Jan 2004 15:14:25 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 192 invoked from network); 11 Jan 2004 15:14:25 -0000 Date: 11 Jan 2004 15:14:33 -0000 Message-ID: <20040111151433.28763.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: axis-dev@ws.apache.org Cc: Subject: DO NOT REPLY [Bug 26044] New: - org.apache.axis.description.ServiceDesc.syncOperationToClass() ignores superInterface methods of interfaces X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=26044 org.apache.axis.description.ServiceDesc.syncOperationToClass() ignores superInterface methods of interfaces Summary: org.apache.axis.description.ServiceDesc.syncOperationToC lass() ignores superInterface methods of interfaces Product: Axis Version: 1.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Serialization/Deserialization AssignedTo: axis-dev@ws.apache.org ReportedBy: penko@rila.bg Line 600: Method [] methods = implClass.getDeclaredMethods(); Line 713 // Didn't find a match. Try the superclass, if appropriate Class superClass = implClass.getSuperclass(); But if we have: Interface A{ } Interface B extends A { } And if you publish Interface B, The methads existing in interface will not be returned in Line 600, and the superInterface is not returned in line 713 --> so you lose all the methods from the superinterface. The change that I have done the following modification in line 600: // Find the method. We do this once for each Operation. Method [] methods; if (implClass.isInterface()){ methods = implClass.getMethods();\\ Returns all methods incl inherited }else{ methods = implClass.getDeclaredMethods(); }