Invalid path in attributes api

10 views
Skip to first unread message

Sven Wesley

unread,
Nov 25, 2011, 7:15:07 PM11/25/11
to magja-...@googlegroups.com
Gents,

Did a call to AttributeRemoteService.getByCode("String") and it failed with "invalid path".
Following code:

ProductAttributeRemoteService attributeService = RemoteServiceFactory
                    .getProductAttributeRemoteService();
ProductAttribute pa = attributeService.getByCode("manufacturer");

...will make a SOAP call to "catalog_product_attribute.info" that doesn't exist. The Magja-ext extension is on the server side.
Is that an uncomplete method or am I missing something?

If I use the listAllAttributes method it all goes fine, but requesting a thousand attributes for one single value is a bit unnecessary. :)

Regards,
Sven
Reply all
Reply to author
Forward
0 new messages