Hi All,
I am having trouble with my first effort at developing a web service.
I have a methods, outlined below which should return a DataTable.
[WebMethod(Description = "Gets details for contact for the ID provided")]
public DataTable GetContactsforCompany(string sID)
{
if (sID == string.Empty)
return new DataTable();
return getContactsForCompany(sID);
}
Unfortunately when I call the methood in an application the return type
is: GetContractsForCompanyResponseGetContactsForCompan yResult
and the only properties avaialable are "Any"
Can anybody tell me why?
TIA
Peter Longstaff