error when calling the webservice

Posted by xrx215 on Stack Overflow See other posts from Stack Overflow or by xrx215
Published on 2010-03-29T14:17:29Z Indexed on 2010/03/29 14:23 UTC
Read the original article Hit count: 307

Filed under:
|
|

i am getting a list of pagepack assistant by calling a webservice. I have added the web reference.

using org.xerox.xde3.na.sdi.amiller_v_vista;
public org.xerox.xde3.na.sdi.amiller_v_vista.DDCControl proxy;

in page load method i am calling the web method as follows

proxy = new DDCControl();

Guid y = new Guid("45a5b1c2-2fa5-4136-abdd-bc213b694848");

DataList1.DataSource = proxy.GetAllDDCs(this.AccountID, y);

DataList1.DataBind();

I am getting the following error:

An invalid data source is being used for DataList1. A valid data source must implement either IListSource or IEnumerable

Can you please help me with this issue?

© Stack Overflow or respective owner

Related posts about web-services

Related posts about c#