cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r759961 - /cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java
Date Mon, 30 Mar 2009 13:33:17 GMT
Author: dkulp
Date: Mon Mar 30 13:33:16 2009
New Revision: 759961

URL: http://svn.apache.org/viewvc?rev=759961&view=rev
Log:
Fix problem of generating Response<void> (not valid) for async method when a void response
is expected

Modified:
    cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java

Modified: cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java?rev=759961&r1=759960&r2=759961&view=diff
==============================================================================
--- cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java
(original)
+++ cxf/trunk/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/processor/internal/OperationProcessor.java
Mon Mar 30 13:33:16 2009
@@ -332,7 +332,11 @@
         StringBuffer sb = new StringBuffer();
         sb.append(clzName);
         sb.append("<");
-        sb.append(response);
+        if ("void".equals(response)) {
+            sb.append('?');
+        } else {
+            sb.append(response);
+        }
         sb.append(">");
         return sb.toString();
     }



Mime
View raw message