diff options
author | kchan | 2006-04-04 17:55:56 +0000 |
---|---|---|
committer | kchan | 2006-04-04 17:55:56 +0000 |
commit | d7386b745378d24580eb9461bd2374565a0edfc7 (patch) | |
tree | beea54af482c3d64dbbd6dc3f7367f6f38e19e19 | |
parent | aa7412d52babdbf32e852de0cac09835c4a3e727 (diff) | |
download | webtools.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.java | 3 |
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); } |