Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

Requested store view not found
Jr. Member
Total Posts:  25
Joined:  2008-12-22

Hi everyone and happy new year,

I am trying to access Magento by Java, using webservice code that was generated by NetBeans.

When I try to run the following code I get an error: “Requested store view not found” at the call to category.tree

MagentoService service = new MagentoService_Impl();
Mage_Api_Model_Server_HandlerPortType handler service.getMage_Api_Model_Server_HandlerPort();
String sessionId handler.login("test_user""test_key");
System.out.println("sessionId:" sessionId);

Map treeInfo = new HashMap();
Object result"category.tree"treeInfo);
System.out.println("result:" result);

What need I pass as the storeView? How can I find it?

Another thing:
parentId and storeView are defined as “optional”, however, if I remove any of them I get the error:

Using $this when not in object context
and if I remove both I get:
deserialization errorno deserializer is registered for (null{}Map)

Please advise,


Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top