You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ro...@apache.org on 2008/07/24 22:16:47 UTC

svn commit: r679527 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperation.java

Author: rott
Date: Thu Jul 24 13:16:47 2008
New Revision: 679527

URL: http://svn.apache.org/viewvc?rev=679527&view=rev
Log:
JIRA: AXIS2-3943 - reverting 670462 to pass CTS testcase, fix apparent bug.

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

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperation.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperation.java?rev=679527&r1=679526&r2=679527&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperation.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisOperation.java Thu Jul 24 13:16:47 2008
@@ -584,7 +584,14 @@
     }
 
 	public String getSoapAction() {
-		return getInputAction();
+        /*
+         * This AxisOperation instance may be used for the client OUT-IN or for
+         * the server IN-OUT.  If the below code were changed to getInputActions, and the
+         * result of getInputAction were put in the SOAP action header on a client outbound
+         * message, the server would receive an INCORRECT SOAP action header.  We should leave
+         * this as 'return soapAction;' OR make it client/server aware.
+         */
+        return soapAction;
 	}
     
  }