cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r789905 - in /cxf/branches/2.2.x-fixes: ./ rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
Date Tue, 30 Jun 2009 19:45:39 GMT
Author: dkulp
Date: Tue Jun 30 19:45:39 2009
New Revision: 789905

URL: http://svn.apache.org/viewvc?rev=789905&view=rev
Log:
Merged revisions 789896 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r789896 | dkulp | 2009-06-30 15:38:17 -0400 (Tue, 30 Jun 2009) | 1 line
  
  CXF-2292 - don't map faults on one way ops
........

Modified:
    cxf/branches/2.2.x-fixes/   (props changed)
    cxf/branches/2.2.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java

Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Jun 30 19:45:39 2009
@@ -1 +1 @@
-/cxf/trunk:782728-782730,783097,783294,783396,784059,784181-784184,784893,784895,785279-785282,785468,785621,785624,785651,785734,785866,786142,786271-786272,786395,786512,786514,786582-786583,786638,786647,786850,787200,787269,787277-787279,787290-787291,787305,787323,787366,787849,788030,788060,788187,788444,788451,788703,788752,788774,788819-788820,789013,789371,789387,789420,789527-789530,789704-789705,789788,789811
+/cxf/trunk:782728-782730,783097,783294,783396,784059,784181-784184,784893,784895,785279-785282,785468,785621,785624,785651,785734,785866,786142,786271-786272,786395,786512,786514,786582-786583,786638,786647,786850,787200,787269,787277-787279,787290-787291,787305,787323,787366,787849,788030,788060,788187,788444,788451,788703,788752,788774,788819-788820,789013,789371,789387,789420,789527-789530,789704-789705,789788,789811,789896

Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.2.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java?rev=789905&r1=789904&r2=789905&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
(original)
+++ cxf/branches/2.2.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
Tue Jun 30 19:45:39 2009
@@ -1381,7 +1381,8 @@
             }
         }
 
-        if (hasOutMessage(method)) {
+        boolean hasOut = hasOutMessage(method);
+        if (hasOut) {
             // Setup the output message
             MessageInfo outMsg = op.createMessage(createOutputMessageName(op, method),
                                                   MessageInfo.Type.OUTPUT);
@@ -1459,7 +1460,10 @@
         //when doing java->wsdl->java
         setParameterOrder(method, paramClasses, op);
 
-        initializeFaults(intf, op, method);
+        if (hasOut) {
+            // Faults are only valid if not a one-way operation
+            initializeFaults(intf, op, method);
+        }
     }
     
     private void setParameterOrder(Method method, Class[] paramClasses, OperationInfo op)
{



Mime
View raw message