Reworked echo sample to use maven for clients

This commit is contained in:
Arjen Poutsma
2010-02-26 09:11:12 +00:00
parent 9a608b4ba3
commit b931fc0b18
17 changed files with 41 additions and 98 deletions

View File

@@ -87,11 +87,13 @@ public class EchoClient {
SOAPBodyElement echoResponseElement = (SOAPBodyElement) message
.getSOAPBody().getChildElements(echoResponseName).next();
String echoValue = echoResponseElement.getTextContent();
System.out.println();
System.out.println("Echo Response [" + echoValue + "]");
System.out.println();
}
public static void main(String[] args) throws Exception {
String url = "http://localhost:8080/echo/services";
String url = "http://localhost:8080/echo-server/services";
if (args.length > 0) {
url = args[0];
}