axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r783785 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
Date Thu, 11 Jun 2009 14:20:58 GMT
Author: amilas
Date: Thu Jun 11 14:20:58 2009
New Revision: 783785

URL: http://svn.apache.org/viewvc?rev=783785&view=rev
Log:
set the axis message at the addressing dispatcher as well. other wise this cause problems
when using ws security in dual channel mode

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java?rev=783785&r1=783784&r2=783785&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/dispatchers/AddressingBasedDispatcher.java
Thu Jun 11 14:20:58 2009
@@ -20,6 +20,7 @@
 package org.apache.axis2.dispatchers;
 
 import org.apache.axis2.AxisFault;
+import org.apache.axis2.wsdl.WSDLConstants;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.AddressingFaultsHelper;
 import org.apache.axis2.context.MessageContext;
@@ -91,6 +92,8 @@
 //                        throw new AxisFault(Messages.getMessage("duplicaterelatesto",relatesTo));
 //                    }
                     msgctx.setAxisOperation(operationContext.getAxisOperation());
+                    msgctx.setAxisMessage(operationContext.getAxisOperation().getMessage(
+                                                                WSDLConstants.MESSAGE_LABEL_IN_VALUE));
                     msgctx.setOperationContext(operationContext);
                     msgctx.setServiceContext((ServiceContext) operationContext.getParent());
                     msgctx.setAxisService(



Mime
View raw message