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 de...@apache.org on 2006/01/27 17:07:49 UTC

svn commit: r372890 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OutInAxisOperation.java

Author: deepal
Date: Fri Jan 27 08:07:44 2006
New Revision: 372890

URL: http://svn.apache.org/viewcvs?rev=372890&view=rev
Log:
-removed setting TEPR to null when service client gets a fault

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

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OutInAxisOperation.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OutInAxisOperation.java?rev=372890&r1=372889&r2=372890&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OutInAxisOperation.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/OutInAxisOperation.java Fri Jan 27 08:07:44 2006
@@ -362,8 +362,10 @@
         try {
             // Adding request reference parameters into ServiceContext , so then in the next
             // requesy automatically send them back
-            sc.setTargetEPR(getReplyToEPR(resenvelope.getHeader()
-                    .getFirstChildWithName(new QName("ReplyTo"))));
+            if (!resenvelope.getBody().hasFault()) {
+                sc.setTargetEPR(getReplyToEPR(resenvelope.getHeader()
+                        .getFirstChildWithName(new QName("ReplyTo"))));
+            }
         } catch (Exception e) {
             //NPE may occure there for need to catch this
         }