Re: Sending tabular data to a web service method

Home Forum Integrating PerfectForms Sending tabular data to a web service method Re: Sending tabular data to a web service method

#5255

Anonymous

Based on your reply, I am assuming there is no way currently to support a web service parameter that contains multiple items. Is this correct? For example say that the .Net web service has a parameter as List<PoItem> and the PoItem object has ItemId, Description, Qty, and Price properties. I want to link each row in the table to create a PoItem instance and send the entire table to the web service. I am assuming that I would need to modify the parameter to something like an xml string that contains the list, build up the string, send it, and parse it that way on the other side. Or is there another way that I am not seeing to link multiple items to an array or list type web service argument. Thanks.