private String generateLocationsRequestXML() {
TestOnDemandLocationsRequest locationsRequest = TestOnDemandLocationsRequestDocumentConfig.Factory.newInstance()
.addNewTestOnDemandLocationsRequest();
Request request = locationsRequest.addNewRequest();
request.setApiVersion(API_VERSION);
TestOnDemandHeaderConfig header = request.addNewHeader();
header.setUserAgent(USER_AGENT);
TestOnDemandCommandConfig command = request.addNewBody().addNewCommand();
command.setName(LOCATIONS_NAME);
command.setParameters(LOCATIONS_PARAMETER);
return locationsRequest.xmlText(getXmlOptionsWithoutNamespaces());
}