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 de...@apache.org on 2007/07/04 13:00:13 UTC
svn commit: r553166 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutInAxisOperation.java
Author: deepal
Date: Wed Jul 4 04:00:12 2007
New Revision: 553166
URL: http://svn.apache.org/viewvc?view=rev&rev=553166
Log:
replyTo:none should not be used with OutInAxisOperationClient
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutInAxisOperation.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=553166&r1=553165&r2=553166
==============================================================================
--- 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 Wed Jul 4 04:00:12 2007
@@ -193,9 +193,12 @@
}
}
EndpointReference replyTo = mc.getReplyTo();
- if (replyTo!=null &&!
- replyTo.hasAnonymousAddress() &&
- !replyTo.hasNoneAddress()){
+ if (replyTo !=null && replyTo.hasNoneAddress()) {
+ throw new AxisFault( replyTo.getAddress() + "" +
+ " can not be used with OutInAxisOperationClient , user either "
+ + "fireAndForget or sendRobust)");
+ }
+ if (replyTo!=null && !replyTo.hasAnonymousAddress()){
useAsync = true;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org