Author: thomas.diesler(a)jboss.com
Date: 2007-05-31 07:13:30 -0400 (Thu, 31 May 2007)
New Revision: 3320
Modified:
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/JaxrBaseTest.java
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/retail/cc/CCVerificationService.java
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/retail/profile/ProfileMgmtService.java
Log:
Fix test regression
Modified:
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/JaxrBaseTest.java
===================================================================
---
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/JaxrBaseTest.java 2007-05-31
11:08:38 UTC (rev 3319)
+++
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/JaxrBaseTest.java 2007-05-31
11:13:30 UTC (rev 3320)
@@ -101,8 +101,8 @@
if (factoryClass == null || factoryClass.length() == 0)
System.setProperty(factoryString,
"org.apache.ws.scout.registry.ConnectionFactoryImpl");
- String queryurl = System.getProperty("jaxr.query.url",
"http://localhost:8080/juddi/inquiry");
- String puburl = System.getProperty("jaxr.publish.url",
"http://localhost:8080/juddi/publish");
+ String queryurl = System.getProperty("jaxr.query.url",
"http://" + getServerHost() + ":8080/juddi/inquiry");
+ String puburl = System.getProperty("jaxr.publish.url",
"http://" + getServerHost() + ":8080/juddi/publish");
Properties props = new Properties();
props.setProperty("javax.xml.registry.queryManagerURL", queryurl);
Modified:
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/retail/cc/CCVerificationService.java
===================================================================
---
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/retail/cc/CCVerificationService.java 2007-05-31
11:08:38 UTC (rev 3319)
+++
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/retail/cc/CCVerificationService.java 2007-05-31
11:13:30 UTC (rev 3320)
@@ -25,7 +25,7 @@
static {
URL url = null;
try {
- url = new
URL("http://localhost:8080/jaxws-samples-retail/CCVerificationBean?wsdl");
+ url = new URL("http://" + getServerHost() +
":8080/jaxws-samples-retail/CCVerificationBean?wsdl");
} catch (MalformedURLException e) {
e.printStackTrace();
}
Modified:
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/retail/profile/ProfileMgmtService.java
===================================================================
---
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/retail/profile/ProfileMgmtService.java 2007-05-31
11:08:38 UTC (rev 3319)
+++
trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/retail/profile/ProfileMgmtService.java 2007-05-31
11:13:30 UTC (rev 3320)
@@ -26,7 +26,7 @@
static {
URL url = null;
try {
- url = new
URL("http://localhost:8080/jaxws-samples-retail/ProfileMgmtBean?wsdl");
+ url = new URL("http://" + getServerHost() +
":8080/jaxws-samples-retail/ProfileMgmtBean?wsdl");
} catch (MalformedURLException e) {
e.printStackTrace();
}
Show replies by date