public void setService() throws AuthenticationException { myService = new ContactsService("exampleCo-exampleApp-1"); myService.setUserCredentials(user, pass); }