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 ga...@apache.org on 2006/03/23 17:14:39 UTC
svn commit: r388197 -
/webservices/axis/trunk/java/src/org/apache/axis/client/Call.java
Author: gawor
Date: Thu Mar 23 08:14:37 2006
New Revision: 388197
URL: http://svn.apache.org/viewcvs?rev=388197&view=rev
Log:
removed unused code/function
Modified:
webservices/axis/trunk/java/src/org/apache/axis/client/Call.java
Modified: webservices/axis/trunk/java/src/org/apache/axis/client/Call.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/src/org/apache/axis/client/Call.java?rev=388197&r1=388196&r2=388197&view=diff
==============================================================================
--- webservices/axis/trunk/java/src/org/apache/axis/client/Call.java (original)
+++ webservices/axis/trunk/java/src/org/apache/axis/client/Call.java Thu Mar 23 08:14:37 2006
@@ -2802,13 +2802,7 @@
}
}
- // if(!msgContext.getIsOneWay()) {
- invokeEngine(msgContext);
- /*
- } else {
- invokeEngineOneWay(msgContext);
- }
- */
+ invokeEngine(msgContext);
if (log.isDebugEnabled()) {
log.debug("Exit: Call::invoke()");
@@ -2858,31 +2852,6 @@
throw ((SOAPFault)respBody).getFault();
}
}
- }
-
- /**
- * Implement async invocation by running the request in a new thread
- * @param msgContext
- */
- private void invokeEngineOneWay(final MessageContext msgContext) {
- //TODO: this is not a good way to do stuff, as it has no error reporting facility
- //create a new class
- Runnable runnable = new Runnable(){
- public void run() {
- msgContext.setIsOneWay( true );
- try {
- service.getEngine().invoke( msgContext );
- } catch (AxisFault af){
- //TODO: handle errors properly
- log.debug(Messages.getMessage("exceptionPrinting"), af);
- }
- msgContext.setIsOneWay( false );
- }
- };
- //create a thread to run it
- Thread thread = new Thread(runnable);
- //run it
- thread.start();
}
/**