Creating a Java Client to Communicate with XML

Java clients can send and receive HTTP messages with XML content (similar to the .NET API client) using the following libraries:

  • Java Development Kit (minimum version 1.7 ) from www.oracle.com/java provides the application foundation.

  • HTTPClient (version 4.1.3) creates and reads messages over HTTP.

  • Jaxen (version 1.1) provides XML parsing and XPath queries.

Usage of these libraries is demonstrated in the Java software test harness sample code in the InvokeAPIService methods of the servlet classes in the Source Packages folder.