Search code examples
.netweb-serviceswebservice-clientfoxpro

Consuming custom List<object> in FoxPro from webservice


I have a Visual Studio 2010 web service project that creates a custom class and binds my sql query results to that object as a List<object> and returns that. We're trying to figure out how to consume that object in FoxPro. My object is as follows -

public class CustomObject
{
   public string Name;
   public int Id;
}

Then that gets converted to a List<CustomObject> to contain all the results that are returned. Thanks.


Solution

  • You want to look at the article Rick Strahl has written on this very subject: Using Visual FoxPro to call .Net Web Services for Data Access