Sample java code to integrate with Fieldwire