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

------------------------------------------------------------------------------
  
  This code originated on a linux system, using Java 1.5, Maven 2.2.0 and 
Net''''''Beans 6.5 running apache-tomcat-6.0.16
  
+ This ended up a bit long, but I'm not sure if the server and client programs 
should be broken out into separate wiki pages. Sometimes it's nice not to have 
all together. This is my first foray into XML-RPC so improvements are welcome.
+ 
- = Example Configuration =
+ == Example Configuration ==
  Two programs are included in this example. The first listed is the server and 
the second part is the client, which will communicate via XML-RPC over HTTP 
with the server. The server code is intended to run as a Tomcat servlet, while 
the client is a command line application. These can both be run on the same 
system.
  
  If you have the Net''''''Beans IDE with web development plugins installed, 
then you can run with the client with the integrated Tomcat server. Otherwise, 
you can manually start up the tomcat servlet container and then deploy the 
server program (myXmlRpcServer.war) to the `webapps` directory.
@@ -304, +306 @@

  }}}
  This will create a jar file in the standard {{{target}}} directory with a 
name of `myXmlRpcServer.war`. Near the bottom of the output should be a `[INFO] 
BUILD SUCCESSFUL` message, indicated all is well.
  
- If you did include the JUnit test file (XmlRpcServlerTest.java), then the 
output should contain something like this:
+ If you did include the JUnit test file (`XmlRpcServlerTest.java`), then the 
output should contain something like this:
  {{{
  [INFO] [resources:testResources {execution: default-testResources}]
  [WARNING] Using platform encoding (UTF-8 actually) to copy filtered 
resources, i.e. build is platform dependent!

Reply via email to