The provided sample command-line driver can be used to experiment using REST from the command-line.
The command-line driver was written as proof of concept to demonstrate use of the REST API, and is not intended as a primary way of interacting with it.
Source code for the command-line driver is available as an IntelliJ/Maven project in a Bitbucket repo - XML Compare REST Java Client. Please customize as needed. This client doesn't use 'model' POJOs corresponding to requests and responses in the API. Instead it processes responses as Strings and use XPath to process results.
Functionality of the REST command-line driver is similar to the Java API-based command-line driver.
The client defaults to
but this can be changed by using the
For example, if the REST service is running on port 1234 instead of 8080:
In these samples, references to the deltaxml-rest-client-10.0.0.jar should be modified to match the major.minor.patch version of XML Compare you are using. Also, if using a Windows terminal, the '\' line-continuation character should be replaced with '^' character.