Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkchan2006-04-04 17:55:56 +0000
committerkchan2006-04-04 17:55:56 +0000
commitd7386b745378d24580eb9461bd2374565a0edfc7 (patch)
treebeea54af482c3d64dbbd6dc3f7367f6f38e19e19
parentaa7412d52babdbf32e852de0cac09835c4a3e727 (diff)
downloadwebtools.webservices-d7386b745378d24580eb9461bd2374565a0edfc7.tar.gz
webtools.webservices-d7386b745378d24580eb9461bd2374565a0edfc7.tar.xz
webtools.webservices-d7386b745378d24580eb9461bd2374565a0edfc7.zip
[134791] Do not translate seconds into miliseconds when timeout = -1.
-rw-r--r--bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/WSDL2JavaCommand.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/WSDL2JavaCommand.java b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/WSDL2JavaCommand.java
index 24a7c6a11..797bec3ad 100644
--- a/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/WSDL2JavaCommand.java
+++ b/bundles/org.eclipse.jst.ws.axis.consumption.core/src/org/eclipse/jst/ws/internal/axis/consumption/core/command/WSDL2JavaCommand.java
@@ -10,6 +10,7 @@
* yyyymmdd bug Email and other contact information
* -------- -------- -----------------------------------------------------------
* 20060329 127016 andyzhai@ca.ibm.com - Andy Zhai
+ * 20060404 134791 andyzhai@ca.ibm.com - Andy Zhai
*******************************************************************************/
package org.eclipse.jst.ws.internal.axis.consumption.core.command;
@@ -150,7 +151,7 @@ public class WSDL2JavaCommand extends AbstractDataModelOperation {
}
else if(context.getTimeOut() != AxisEmitterDefaults.getTimeOutDefault())
{
- timeout = context.getTimeOut() * 1000;
+ timeout = context.getTimeOut() == -1 ? -1 : context.getTimeOut()* 1000;
wsdl2Java.setTimeout(timeout);
environment.getLog().log(ILog.INFO, 5100, this, "execute", "Timeout = " + timeout);
}

Back to the top