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:
Added XmlRpcServlet.properties listing

------------------------------------------------------------------------------
  }
  
  }}}
- Rather than get a real directory listing and have to deal with filesystem 
specifics, this example creates a list of randomly generated file names, all 
starting out with "sample_". The list is only created once, so the same list 
will be returned until the web service is restarted. The second time the client 
retrieves the list will be without the time needed to generate the random file 
names, allowing you to judge the performance of just the data transfer over 
XML-RPC.
+ Rather than get a real directory listing and have to deal with filesystem 
specifics, this example creates a list of randomly generated file names, all 
starting out with "sample_". The list is only created once, so the same list 
will be returned until the web service is restarted. The second time the client 
retrieves the list will be without the time needed to generate the random file 
names, allowing you to judge the performance of just the data transfer over 
XML-RPC. The `listLength` variable controls how many file names to generate.
+ 
+ == XmlRpcServlet.properties Listing ==
+ Contents of 
'''{{{src/main/java/org/apache/xmlrpc/webserver/XmlRpcServlet.properties}}}'''. 
A resources entry in the pom.xml file (above) includes this into the warfile.
+ {{{
+ ## As derived from the example on http://ws.apache.org/xmlrpc/server.html
+ #Calculator=org.apache.xmlrpc.demo.Calculator
+ 
+ ## This connects my class to the "DirList" name used by the client.execute 
method
+ DirList=gov.noaa.eds.myXmlRpc.DirList
+ }}}
  
  ----
  

Reply via email to