Installing and Configuring XML-RPC


Obtaining an XML-RPC build is simple. Point your Web browser at http://ws.apache.org/xmlrpc and click the Download link to get to the XML-RPC downloads. You can click your way down into the distribution directory and look at the releases. There are source and binary distributions in two formats: .zip files for Windows users and .tar.gz files for UNIX, Linux, and Mac OS X users. Using version 1.1 of XML-RPC as an example, the binary distribution for Windows is named xmlrpc-1.1.zip, and the source distribution is named xmlrpc-1.1-src.zip. In some of the version directories, you’ll find .md5 files that contain MD5 checksums of the corresponding .zip or .tar.gz files. So, the MD5 file for the Windows binary distribution is in xmlrpc-1.1.zip.md5.

At a minimum, you need the binary distribution for the platform of your choice. If you want the source distribution, you need to download that as well. After you’ve downloaded the distribution, unpack it using a zip-file utility or tar and gzip for the .tar.gz files. Doing so creates a directory called xmlrpc-1.1 either in the current directory or in the directory you specified to your archiving utility. The important files in this directory are as follows:

  • LICENSE—A copy of the Apache Software License.

  • README.txt—A brief file containing getting-started instructions.

  • build.xml—The Ant build file for XML-RPC.

  • build.properties—An Ant properties file containing configuration variables for the build.

  • xmlrpc-1.1.jar—The jar file containing the XML-RPC 1.1 classes.

  • xmlrpc-1.1-applet.jar—A jar file containing the XML-RPC 1.1 classes needed for applet applications.

  • src (if you downloaded and unpacked the source distribution)—The source code for XML-RPC 1.1.

Once you’ve unpacked the distribution, add the xmlrpc-1.1.jar to your classpath. XML-RPC includes the MinML XML parser. If you’re using an XML parser in other parts of your application, you may need to place the XML parser jar files before the xmlrpc-1.1.jar. The exception would be on JDK 1.4, which uses the Endorsed Standards Mechanism to determine which SAX parser is used.




Professional XML Development with Apache Tools. Xerces, Xalan, FOP, Cocoon, Axis, Xindice
Professional XML Development with Apache Tools: Xerces, Xalan, FOP, Cocoon, Axis, Xindice (Wrox Professional Guides)
ISBN: 0764543555
EAN: 2147483647
Year: 2003
Pages: 95

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net