axis-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r1024008 - /axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitWrappedMethodMarshaller.java
Date Mon, 18 Oct 2010 21:22:35 GMT
Author: scheu
Date: Mon Oct 18 21:22:34 2010
New Revision: 1024008

URL: http://svn.apache.org/viewvc?rev=1024008&view=rev
Log:
AXIS2-4823
Contributor: Doug Larson
Committer: Rich Scheuerle

Slight improvement to wrapper lookup code.

Modified:
    axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitWrappedMethodMarshaller.java

Modified: axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitWrappedMethodMarshaller.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitWrappedMethodMarshaller.java?rev=1024008&r1=1024007&r2=1024008&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitWrappedMethodMarshaller.java
(original)
+++ axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/alt/DocLitWrappedMethodMarshaller.java
Mon Oct 18 21:22:34 2010
@@ -235,8 +235,10 @@ public class DocLitWrappedMethodMarshall
             TreeSet<String> packages = marshalDesc.getPackages();
             String packagesKey = marshalDesc.getPackagesKey();
             
-            if (shouldRegiserUnmarshalInfo(operationDesc, marshalDesc, endpointDesc)) {
-            	MethodMarshallerUtils.registerUnmarshalInfo(message.getMessageContext(),
+            MessageContext mc = message.getMessageContext();
+            if (MethodMarshallerUtils.getUnmarshalInfoParameter(mc) == null &&
+                shouldRegiserUnmarshalInfo(operationDesc, marshalDesc, endpointDesc)) {
+                MethodMarshallerUtils.registerUnmarshalInfo(message.getMessageContext(),
                                                         packages,
                                                         packagesKey);
             }



Mime
View raw message