axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r387676 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java
Date Wed, 22 Mar 2006 00:10:05 GMT
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,



Mime
View raw message