// method to get product attributes public static string CurrentStore(string apiUrl, string sessionId) { IProductAttributes proxy = (IProductAttributes)XmlRpcProxyGen.Create(typeof(IProductAttributes)); proxy.Url = apiUrl; return(proxy.CurrentStore(sessionId, _catalog_product_attribute_currentStore)); }