axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prad...@apache.org
Subject svn commit: r451183 - in /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description: OutInAxisOperation.java RobustOutOnlyAxisOperation.java
Date Fri, 29 Sep 2006 09:14:54 GMT
Author: pradine
Date: Fri Sep 29 02:14:53 2006
New Revision: 451183

URL: http://svn.apache.org/viewvc?view=rev&rev=451183
Log:
Ensure that there are no faults on the client side due to the absence of a soapaction in response
messages.

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutInAxisOperation.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/RobustOutOnlyAxisOperation.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutInAxisOperation.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutInAxisOperation.java?view=diff&rev=451183&r1=451182&r2=451183
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutInAxisOperation.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutInAxisOperation.java
Fri Sep 29 02:14:53 2006
@@ -276,9 +276,6 @@
             AxisEngine engine = new AxisEngine(cc);
             mc.getConfigurationContext().registerOperationContext(mc.getMessageID(), oc);
             engine.send(mc);
-
-            // Options object reused so soapAction needs to be removed so
-            // that soapAction+wsa:Action on response don't conflict
         } else {
             if (block) {
                 // Send the SOAP Message and receive a response

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/RobustOutOnlyAxisOperation.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/RobustOutOnlyAxisOperation.java?view=diff&rev=451183&r1=451182&r2=451183
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/RobustOutOnlyAxisOperation.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/RobustOutOnlyAxisOperation.java
Fri Sep 29 02:14:53 2006
@@ -77,6 +77,10 @@
             responseMessageContext.setTransportIn(msgctx.getTransportIn());
             responseMessageContext.setTransportOut(msgctx.getTransportOut());
 
+            // Options object reused above so soapAction needs to be removed so
+            // that soapAction+wsa:Action on response don't conflict
+            responseMessageContext.setSoapAction("");
+
             SOAPEnvelope envelope = responseMessageContext.getEnvelope();
             if (envelope == null) {
                 // If request is REST we assume the responseMessageContext is REST, so



---------------------------------------------------------------------
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