Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by KenTanaka: http://wiki.apache.org/ws/XmlRpcExampleStringArray The comment on the change is: Noted when you might see the index.jsp page from the servlet ------------------------------------------------------------------------------ This will create an executable jar file in the standard {{{target}}} directory named `myXmlRpcClient-1.0-SNAPSHOT-jar-with-dependencies.jar`. (You can ignore the shorter/smaller myXmlRpcClient-1.0-SNAPSHOT.jar which does not have the libraries bundled in. Now might also be a good time to learn about filename completion ;-) ) == Running == - Assuming you have successfully gotten tomcat running the myXmlRpcServer (described below), use a command like this to run the example + Assuming you have successfully gotten tomcat running the myXmlRpcServer servlet (described below), use a command like this to run the example {{{ java -jar target/myXmlRpcClient-1.0-SNAPSHOT-jar-with-dependencies.jar }}} @@ -393, +393 @@ </body> </html> }}} + This pops up when running the servlet in Net''''''Beans, otherwise you probably will not see it. You can visit http://127.0.0.1:8080/myXmlRpcServer to see if the servlet is running. It prints the "XML-RPC Server is running" page when it's active. == content.xml Listing == Contents of '''{{{src/main/webapp/META-INF/content.xml}}}'''. This is a minor part of the example. @@ -578, +579 @@ }}} == Running == - Apache tomcat is fairly easy to install if it's not already on your system, you can usually install it in your home directory for personal use if you don't have root (administrator) permissions. You can run the server in your IDE, like Net''''''Beans with Web Application plugins installed, or in a standalone Tomcat. Note that the port number may vary depending on which method you use, set the port in the client (App.java) to match. Manually starting the service should be on port 8080, inside Net''''''Beans the port chosen tends to be 8084 so as not to conflict with any standalone tomcat that might running on the usual 8080. + Apache tomcat is fairly easy to install if it's not already on your system, you can usually install it in your home directory for personal use if you don't have root (administrator) permissions. You can run the server in your IDE, like Net''''''Beans with Web Application plugins installed, or in a standalone Tomcat. Note that the port number may vary depending on which method you use, set the port in the client (App.java) to match. Manually starting the service should bring it up on port 8080, inside Net''''''Beans the port chosen tends to be 8084 so as not to conflict with any standalone tomcat that might running on the usual 8080. Use a command like this to start up tomcat manually if not already running: {{{
