axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r644372 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/factory/MethodMarshallerFactory.java
Date Thu, 03 Apr 2008 15:42:21 GMT
Author: dims
Date: Thu Apr  3 08:42:20 2008
New Revision: 644372

URL: http://svn.apache.org/viewvc?rev=644372&view=rev
Log:
Method uses the same code for two branches

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/factory/MethodMarshallerFactory.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/factory/MethodMarshallerFactory.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/factory/MethodMarshallerFactory.java?rev=644372&r1=644371&r2=644372&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/factory/MethodMarshallerFactory.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/factory/MethodMarshallerFactory.java
Thu Apr  3 08:42:20 2008
@@ -103,18 +103,10 @@
                                                  ClassLoader cl) {
 
         MethodMarshaller marshaller = null;
-        if (isClient) {
-            if (op.getSoapBindingStyle() == SOAPBinding.Style.DOCUMENT) {
-                marshaller = createDocLitMethodMarshaller(op, isClient, cl);
-            } else if (op.getSoapBindingStyle() == SOAPBinding.Style.RPC) {
-                marshaller = createRPCLitMethodMarshaller(isClient);
-            }
-        } else { // SERVER
-            if (op.getSoapBindingStyle() == SOAPBinding.Style.DOCUMENT) {
-                marshaller = createDocLitMethodMarshaller(op, isClient, cl);
-            } else if (op.getSoapBindingStyle() == SOAPBinding.Style.RPC) {
-                marshaller = createRPCLitMethodMarshaller(isClient);
-            }
+        if (op.getSoapBindingStyle() == SOAPBinding.Style.DOCUMENT) {
+            marshaller = createDocLitMethodMarshaller(op, isClient, cl);
+        } else if (op.getSoapBindingStyle() == SOAPBinding.Style.RPC) {
+            marshaller = createRPCLitMethodMarshaller(isClient);
         }
         return marshaller;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message