You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2008/04/03 17:42:21 UTC
svn commit: r644372 -
/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/factory/MethodMarshallerFactory.java
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