You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2006/03/22 01:10:05 UTC

svn commit: r387676 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java

Author: dims
Date: Tue Mar 21 16:10:03 2006
New Revision: 387676

URL: http://svn.apache.org/viewcvs?rev=387676&view=rev
Log:
fix 2 test failures

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java?rev=387676&r1=387675&r2=387676&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java Tue Mar 21 16:10:03 2006
@@ -145,11 +145,15 @@
     }
 
     /**
-     * This guy will create a AxisService using java replection
+     * This guy will create a AxisService using java reflection
      */
     public static void fillAxisService(AxisService axisService,
                                        AxisConfiguration axisConfig) throws Exception {
         Parameter implInfoParam = axisService.getParameter(Constants.SERVICE_CLASS);
+        if(implInfoParam == null) {
+            // Nothing to do.
+            return;
+        }
         String serviceClass = (String) implInfoParam.getValue();
         ClassLoader serviceClassLoader = axisService.getClassLoader();
         SchemaGenerator schemaGenerator = new SchemaGenerator(serviceClassLoader,