Reworked echo sample to use maven for clients
This commit is contained in:
@@ -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];
|
||||
}
|
||||
Reference in New Issue
Block a user