I am using the QuickBooks Javav3SDK2.0.3 in a java web project and trying to get list of customers as given below, however I am getting the below exception. The API expects request of type com.intuit.apache.http.HttpRequest while it is passed the HttpServletRequest.

Code:

```
    OAuthAuthorizer oauth = new  OAuthAuthorizer(CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET);

        Context context = new Context(oauth, APP_TOKEN, ServiceType.QBO, COMPANY_ID);

        DataService service = new DataService(context);

        Customer customer = new Customer();
        List<Customer> customers = service.findAll(customer);

        Iterator itr = customers.iterator();

        while (itr.hasNext()) 
        {
           Customer customer2 = (Customer) itr.next();
           String customerName = customer2.getFullyQualifiedName();
           System.out.println(customerName);
        }

```

Exception:

java.lang.IllegalArgumentException: This consumer expects requests of type com.intuit.apache.http.HttpRequest