.addClasses(EndpointInterface.class, EndpointService.class, ServletClient.class)
.addAsWebInfResource(ServiceRefEarTestCase.class.getPackage(), "web.xml", "web.xml")
.addAsWebInfResource(ServiceRefEarTestCase.class.getPackage(), "jboss-web.xml", "jboss-web.xml");
String wsdl = FileUtils.readFile(ServiceRefEarTestCase.class, "TestService.wsdl");
final Properties properties = new Properties();
<BUG>properties.putAll(System.getProperties());
if(properties.containsKey("node0")) {
properties.put("node0", NetworkUtils.formatPossibleIpv6Address((String) properties.get("node0")));
}</BUG>
war.addAsWebInfResource(new StringAsset(PropertiesValueResolver.replaceProperties(wsdl, properties)), "wsdl/TestService.wsdl");

.addClasses(EndpointInterface.class, EndpointService.class, ServletClient.class)
.addAsWebInfResource(ServiceRefEarTestCase.class.getPackage(), "web.xml", "web.xml")
.addAsWebInfResource(ServiceRefEarTestCase.class.getPackage(), "jboss-web.xml", "jboss-web.xml");
String wsdl = FileUtils.readFile(ServiceRefEarTestCase.class, "TestService.wsdl");
final Properties properties = new Properties();
properties.putAll(System.getProperties());
final String node0 = NetworkUtils.formatPossibleIpv6Address((String)properties.get("node0"));
if(properties.containsKey("node0")) {
properties.put("node0", node0);
}
war.addAsWebInfResource(new StringAsset(PropertiesValueResolver.replaceProperties(wsdl, properties)), "wsdl/TestService.wsdl");
