Hi,
I'm using the latest jar 1.1.2 and I'm receiving an exception to include my username. I have included this in my code and do not know why it is suddenly not working when it just worked. Are there issues with the servers?
Below is a snippet of the code I'm using for the calls.
Code:
ToponymSearchCriteria searchCriteria = new ToponymSearchCriteria();
searchCriteria.setStyle(Style.FULL);
searchCriteria.setQ(loc.replaceAll("_", " "));
searchCriteria.setMaxRows(1);
WebService.setUserName(username);
ToponymSearchResult searchResult = WebService
.search(searchCriteria);