FindItemsByKeywordsResponse result = null;
try {
FindingServicePortType serviceClient = this.createEbayConnection(appID);
//create request object
FindItemsByKeywordsRequest request = new FindItemsByKeywordsRequest();
//set request parameters
request.setKeywords(searchTerm);
ItemFilter i = new ItemFilter();
i.setName(ItemFilterType.FREE_SHIPPING_ONLY);
i.getValue().add("true");
ItemFilter j = new ItemFilter();
j.setName(ItemFilterType.LISTED_IN);
j.getValue().add("EBAY-US");
ItemFilter k = new ItemFilter();
k.setName(ItemFilterType.LOCATED_IN);
k.getValue().add("US");
request.getItemFilter().add(i);
request.getItemFilter().add(j);
request.getItemFilter().add(k);
PaginationInput pi = new PaginationInput();
pi.setEntriesPerPage(numItemsReturned);
request.setPaginationInput(pi);
request.setBuyerPostalCode("19087");
request.setSortOrder(SortOrderType.BEST_MATCH);
//call service
result = serviceClient.findItemsByKeywords(request);
} catch (Exception ex) {