Consuming REST from ADF using a Java wrapper