cancel
Showing results for 
Search instead for 
Did you mean: 

Visual Studio (C#) not recognising types e.g. associativeEntity, filters, complexFilter

Visual Studio (C#) not recognising types e.g. associativeEntity, filters, complexFilter

Hi there, I'm new to Magento / SOAP so apologies if this question's been asked before.

 

I have a VS C# console project that can currently connect to our Magento service and I can query the 'catalog_category.tree' but when trying to query the 'catalog_product.list' I need to pass a filter. VS isn't recognising the types associativeEntity, filters, complexFilter, etc. for use is an example like this:

 

//fetch configurable products

filters filter = new filters();

filter.filter = new associativeEntity[1];

filter.filter[0] = new associativeEntity();

filter.filter[0].key = "type_id";

filter.filter[0].value = "configurable";

 

I'm guessing I'm missing a namespace but can't find anything so far that explains what that might be.

 

Thanks for any help,    Stuart