try {
// Log SOAP XML request and response.
DfpServiceLogger.log();
// Get DfpUser from "~/dfp.properties".
DfpUser user = new DfpUser();
// Get the ContactService.
ContactServiceInterface contactService =
user.getService(DfpService.V201311.CONTACT_SERVICE);
// Create a statement to only select contacts that aren't invited yet.
Statement filterStatement =
new StatementBuilder("WHERE status = :status LIMIT 500")
.putValue("status", ContactStatus.UNINVITED.toString()).toStatement();