+1 for merging that in to 1.0. (This is a preemptive vote before the weekend :-)
-- Tom Jordahl Macromedia Server Development -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 5:25 PM To: [EMAIL PROTECTED] Subject: cvs commit: xml-axis/java/src/org/apache/axis/description ServiceDesc.java gdaniels 2002/09/27 14:24:54 Modified: java/src/org/apache/axis/description ServiceDesc.java Log: Make sure we skip skeleton methods when introspecting to generate OperationDescs. Revision Changes Path 1.63 +14 -1 xml-axis/java/src/org/apache/axis/description/ServiceDesc.java Index: ServiceDesc.java =================================================================== RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/description/ServiceDesc.java,v retrieving revision 1.62 retrieving revision 1.63 diff -u -r1.62 -r1.63 --- ServiceDesc.java 26 Sep 2002 04:35:05 -0000 1.62 +++ ServiceDesc.java 27 Sep 2002 21:24:54 -0000 1.63 @@ -102,7 +102,6 @@ /** The name of this service */ private String name = null; - private static final String ALL_METHODS= "*"; /** List of allowed methods */ /** null allows everything, an empty ArrayList allows nothing */ @@ -848,6 +847,13 @@ */ private void getSyncedOperationsForName(Class implClass, String methodName) { + // If we're a Skeleton deployment, skip the statics. + if (isSkeletonClass) { + if (methodName.equals("getOperationDescByName") || + methodName.equals("getOperationDescs")) + return; + } + // If we have no implementation class, don't worry about it (we're // probably on the client) if (implClass == null) @@ -944,6 +950,13 @@ */ private void createOperationsForName(Class implClass, String methodName) { + // If we're a Skeleton deployment, skip the statics. + if (isSkeletonClass) { + if (methodName.equals("getOperationDescByName") || + methodName.equals("getOperationDescs")) + return; + } + Method [] methods = implClass.getDeclaredMethods(); for (int i = 0; i < methods.length; i++) {