Author: Grid.Qian
Date: 2011-01-11 00:16:11 -0500 (Tue, 11 Jan 2011)
New Revision: 28090
Modified:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/src/org/example/www/helloworld/HelloWorldService.java
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSJavaFirstCommandTest.java
Log:
JBIDE-6581: modify the wsdl url to fix the build failed
Modified:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/src/org/example/www/helloworld/HelloWorldService.java
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/src/org/example/www/helloworld/HelloWorldService.java 2011-01-11
01:45:33 UTC (rev 28089)
+++
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/projects/ClientTest/src/org/example/www/helloworld/HelloWorldService.java 2011-01-11
05:16:11 UTC (rev 28090)
@@ -15,7 +15,7 @@
* Generated source version: 2.0
*
*/
-@WebServiceClient(name = "HelloWorldService", targetNamespace =
"http://www.example.org/HelloWorld", wsdlLocation =
"http://127.0.0.1:8080/JavaFirstTestProject/HelloWorld?wsdl")
+@WebServiceClient(name = "HelloWorldService", targetNamespace =
"http://www.example.org/HelloWorld", wsdlLocation =
"http://localhost:8080/JavaFirstTestProject/HelloWorld?wsdl")
public class HelloWorldService
extends Service
{
@@ -25,7 +25,7 @@
static {
URL url = null;
try {
- url = new
URL("http://127.0.0.1:8080/JavaFirstTestProject/HelloWorld?wsdl");
+ url = new
URL("http://localhost:8080/JavaFirstTestProject/HelloWorld?wsdl");
} catch (MalformedURLException e) {
e.printStackTrace();
}
Modified:
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSJavaFirstCommandTest.java
===================================================================
---
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSJavaFirstCommandTest.java 2011-01-11
01:45:33 UTC (rev 28089)
+++
trunk/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/JBossWSJavaFirstCommandTest.java 2011-01-11
05:16:11 UTC (rev 28090)
@@ -79,8 +79,8 @@
startup(currentServer);
publishWebProject();
- JobUtils.delay(12000);
- String webServiceUrl =
"http://127.0.0.1:8080/JavaFirstTestProject/HelloWorld?wsdl";
+ JobUtils.delay(18000);
+ String webServiceUrl =
"http://localhost:8080/JavaFirstTestProject/HelloWorld?wsdl";
URL url = new URL(webServiceUrl);
URLConnection conn = url.openConnection();
assertEquals("unable to start JBoss server",
IServer.STATE_STARTED,currentServer.getServerState());