geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdam...@apache.org
Subject svn commit: r171218 - /geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/HeavyweightTypeInfoBuilder.java
Date Sat, 21 May 2005 15:00:27 GMT
Author: gdamour
Date: Sat May 21 08:00:26 2005
New Revision: 171218

URL: http://svn.apache.org/viewcvs?rev=171218&view=rev
Log:
It seems that one-way operations have a return ParameterDesc. The way
to detect them seems to check their typeQName, which should be null.

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

Modified: geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/HeavyweightTypeInfoBuilder.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/HeavyweightTypeInfoBuilder.java?rev=171218&r1=171217&r2=171218&view=diff
==============================================================================
--- geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/HeavyweightTypeInfoBuilder.java
(original)
+++ geronimo/trunk/modules/axis-builder/src/java/org/apache/geronimo/axis/builder/HeavyweightTypeInfoBuilder.java
Sat May 21 08:00:26 2005
@@ -149,7 +149,7 @@
         for (Iterator iter = operations.iterator(); iter.hasNext();) {
             OperationDesc operationDesc = (OperationDesc) iter.next();
             ArrayList parameters = new ArrayList(operationDesc.getParameters());
-            if (null != operationDesc.getReturnParamDesc()) {
+            if (null != operationDesc.getReturnParamDesc().getTypeQName()) {
                 parameters.add(operationDesc.getReturnParamDesc());
             }
             for (Iterator iterator = parameters.iterator(); iterator.hasNext();) {



Mime
View raw message