cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject svn commit: r467277 - /incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBean.java
Date Tue, 24 Oct 2006 08:41:48 GMT
Author: tli
Date: Tue Oct 24 01:41:46 2006
New Revision: 467277

URL: http://svn.apache.org/viewvc?view=rev&rev=467277
Log:
fix the rpc-oneway bug which caused by not initialize input type class info

Modified:
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBean.java

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBean.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBean.java?view=diff&rev=467277&r1=467276&r2=467277
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBean.java
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceFactoryBean.java
Tue Oct 24 01:41:46 2006
@@ -205,6 +205,7 @@
      * @param method
      */
     protected void initalizeClassInfo(OperationInfo o, Method selected, List<String>
paramOrder) {
+        setInputClassInfo(o, selected);
         if (o.getOutput() == null) {
             return;
         }
@@ -212,7 +213,6 @@
         int inPartCount = o.getInput().getMessageParts().size();        
         int outIdx = 0;
         int offset = 0;
-        setInputClassInfo(o, selected);
         for (MessagePartInfo mpiOut : o.getOutput().getMessageParts()) {
             int inIdx = 0;
             boolean isInOut = false;
@@ -268,7 +268,7 @@
                         }
                     }
                 }
-            }
+            }            
             outIdx++;
         }
         setFaultClassInfo(o, selected);



Mime
View raw message