gdaniels 02/02/07 13:47:44 Modified: java/src/org/apache/axis/wsdl/fromJava MethodRep.java Log: Fix bug (hopefully) for Thomas Börkel, we should now return a name for the return part of all response messages. Revision Changes Path 1.4 +2 -1 xml-axis/java/src/org/apache/axis/wsdl/fromJava/MethodRep.java Index: MethodRep.java =================================================================== RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/fromJava/MethodRep.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- MethodRep.java 14 Jan 2002 19:18:52 -0000 1.3 +++ MethodRep.java 7 Feb 2002 21:47:43 -0000 1.4 @@ -90,8 +90,9 @@ public MethodRep(Method method, Class[] types, short[] modes, String[] paramNames) { _name = method.getName(); String retName = "return"; - if (paramNames != null) + if ((paramNames != null) && (paramNames[0] != null)) { retName = paramNames[0]; + } _returns = new ParamRep(retName, method.getReturnType(), ParamRep.OUT); // Create a ParamRep for each parameter. The holderClass() method