owenb 2002/07/01 05:36:55
Modified: java/src/org/apache/wsif/providers/ejb
WSIFOperation_EJB.java
Log:
When creating array of output parameter names, if no output parameters exist
then create a zero length array rather than use null to avoid null pointer exceptions
Revision Changes Path
1.7 +2 -0
xml-axis-wsif/java/src/org/apache/wsif/providers/ejb/WSIFOperation_EJB.java
Index: WSIFOperation_EJB.java
===================================================================
RCS file:
/home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/ejb/WSIFOperation_EJB.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- WSIFOperation_EJB.java 27 Jun 2002 10:44:48 -0000 1.6
+++ WSIFOperation_EJB.java 1 Jul 2002 12:36:55 -0000 1.7
@@ -699,6 +699,8 @@
for (int i = 0; i < argNames.size(); i++) {
fieldOutParameterNames[i] = (String) argNames.get(i);
}
+ } else {
+ fieldOutParameterNames = new String[0];
}
} catch (Exception ex) {
Tr.exception(ex);