I am using the SOAP API to retrieve data from a magento server.
I want to get a list of clients, and I want to pass a filter to get a specific list of clients. I use hashMap, but it throws a Serialization exception.
My code is like
{request = new SoapObject(NAMESPACE, "customerCustomerInfo"); request.addProperty("sessionId", sessionId); HashMap<String, Object> filter=new HashMap<String, Object>(); filter.put("customer_id", condition); request.addProperty("filters", filter);}
I also used jsonobject, a simple Arraylist, but it raised the same exception.
source share