geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r159451 - in geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder: AxisServiceBuilder.java WSDescriptorParser.java
Date Wed, 30 Mar 2005 00:23:34 GMT
Author: djencks
Date: Tue Mar 29 16:23:32 2005
New Revision: 159451

URL: http://svn.apache.org/viewcvs?view=rev&rev=159451
Log:
don't try to find the method for heavyweight mappings

Modified:
    geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisServiceBuilder.java
    geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/WSDescriptorParser.java

Modified: geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisServiceBuilder.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisServiceBuilder.java?view=diff&r1=159450&r2=159451
==============================================================================
--- geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisServiceBuilder.java
(original)
+++ geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/AxisServiceBuilder.java
Tue Mar 29 16:23:32 2005
@@ -308,10 +308,10 @@
         List bindingOperations = binding.getBindingOperations();
         for (int i = 0; i < bindingOperations.size(); i++) {
             BindingOperation bindingOperation = (BindingOperation) bindingOperations.get(i);
-            Method method = WSDescriptorParser.getMethodForOperation(serviceEndpointInterface,
bindingOperation.getOperation());
 
             OperationDescBuilder operationDescBuilder;
             if (lightweight) {
+                Method method = WSDescriptorParser.getMethodForOperation(serviceEndpointInterface,
bindingOperation.getOperation());
                 operationDescBuilder = new LightweightOperationDescBuilder(bindingOperation,
method);
             } else {
                 String operationName = bindingOperation.getOperation().getName();

Modified: geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/WSDescriptorParser.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/WSDescriptorParser.java?view=diff&r1=159450&r2=159451
==============================================================================
--- geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/WSDescriptorParser.java
(original)
+++ geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/WSDescriptorParser.java
Tue Mar 29 16:23:32 2005
@@ -664,7 +664,7 @@
             Method method = methods[i];
             if (method.getName().equals(opName)) {
                 if (found != null) {
-                    throw new DeploymentException("Overloaded methods NYI");
+                    throw new DeploymentException("Overloaded methods are not allowed in
lightweight mappings");
                 }
                 found = method;
             }



Mime
View raw message