Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkchan2008-01-31 02:18:55 +0000
committerkchan2008-01-31 02:18:55 +0000
commitee4191db8188a5cb130c5064ddb06c5b348057b1 (patch)
tree26f84370ed9fd2103946ea1fa9c98a8fef46e7c6 /axis2/bundles
parent76dd24025969e994055ccc326fd5cb825d80cc16 (diff)
downloadwebtools.webservices-ee4191db8188a5cb130c5064ddb06c5b348057b1.tar.gz
webtools.webservices-ee4191db8188a5cb130c5064ddb06c5b348057b1.tar.xz
webtools.webservices-ee4191db8188a5cb130c5064ddb06c5b348057b1.zip
[209411] Axis2 client unable to get WSDL in end-to-end scenario.
Diffstat (limited to 'axis2/bundles')
-rw-r--r--axis2/bundles/org.eclipse.jst.ws.axis2.consumption.core/src/org/eclipse/jst/ws/axis2/consumption/core/utils/ServicePingUtil.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/axis2/bundles/org.eclipse.jst.ws.axis2.consumption.core/src/org/eclipse/jst/ws/axis2/consumption/core/utils/ServicePingUtil.java b/axis2/bundles/org.eclipse.jst.ws.axis2.consumption.core/src/org/eclipse/jst/ws/axis2/consumption/core/utils/ServicePingUtil.java
index 0801b5fdb..542b59812 100644
--- a/axis2/bundles/org.eclipse.jst.ws.axis2.consumption.core/src/org/eclipse/jst/ws/axis2/consumption/core/utils/ServicePingUtil.java
+++ b/axis2/bundles/org.eclipse.jst.ws.axis2.consumption.core/src/org/eclipse/jst/ws/axis2/consumption/core/utils/ServicePingUtil.java
@@ -50,8 +50,7 @@ public class ServicePingUtil {
httpCon.setRequestMethod("GET");
HttpURLConnection.setFollowRedirects(true);
httpCon.setReadTimeout(timeTORetrieveWSDL);
- httpCon.connect();
- Thread.sleep(1000);
+ httpCon.connect(); // try to connect to WSDL
httpCon.disconnect();
} else {
// Do nothing

Back to the top