-
Bug
-
Resolution: Done
-
Major
-
jbossws-cxf-6.1.0.Final
-
None
-
None
In the documentation of JBoss WebServices below code is having a syntactical error.
i
import echo.*; public class EchoClient { public static void main(String args[]) { if (args.length != 1) { System.err.println("usage: EchoClient <message>"); System.exit(1); } EchoService service = new EchoService(); Echo echo = service.getEchoPort(); System.out.println("Server said: " + echo.echo(args0)); } }
Here the args0 needs to be specified in square brackets as it is expecting command line arguments.