axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jal...@apache.org
Subject svn commit: r180234 - /webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java
Date Mon, 06 Jun 2005 06:03:28 GMT
Author: jaliya
Date: Sun Jun  5 23:03:27 2005
New Revision: 180234

URL: http://svn.apache.org/viewcvs?rev=180234&view=rev
Log:
Small fix for the callback, now the InOutMEPClient will set the isComplete flag in the callback
object

Modified:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java?rev=180234&r1=180233&r2=180234&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/clientapi/InOutMEPClient.java
Sun Jun  5 23:03:27 2005
@@ -215,7 +215,10 @@
                             SOAPEnvelope resenvelope = response.getEnvelope();
                             AsyncResult asyncResult = new AsyncResult();
                             asyncResult.setResult(resenvelope);
+                            synchronized(callback){
                             callback.onComplete(asyncResult);
+                            callback.setComplete(true);
+                            }
                         } catch (AxisFault e) {
                             callback.reportError(e);
                         }



Mime
View raw message