views:

352

answers:

0

I have seen many examples of json web services with WCF in asp.net that accept one in-parameter. I need my service method to accept many parameters and return a list like this;

public List<Car> GetCarById(int carId, int password, List<Car> carList);

How can I call this service if I want to pass all these parameters? I'm trying to use the json-framework to call the service from my iPhone. (http://code.google.com/p/json-framework/) How can I do this with this framework? I can't find any example anywhere.. Thanks!