• Welcome to KonaKart Community Forum. Please login or sign up.
 

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Raja Shekhar

1
Hi all,

     I am using konakart 8 Enterprise edition. I installed in multistore shared data base mode with only shared customers. I am using the following code to access


                EngineConfigIf eng= new EngineConfig();
      eng.setMode(2);
      eng.setStoreId("store1");
             eng.setCustomersShared(true);
      eng.setProductsShared(true);
      eng.setCategoriesShared(true);
      
      try {
         KKEngIf engine = new KKWSEng(eng);
         engine.setEndpoint("http://localhost:8780/konakart/services/KKWebServiceEng");
                        Category[] categories = kkEng.getCategoryTree(1, true);
         System.out.println(categories);
                        ---------------------------------------
                        --------------------------------------

When I am using store as store1, Iam getting the categories, but when i set store value as store2, I am getting the null.


NOTE: When i am trying to retrieve customers(shared), I am able to access them using both store1 and store2 

Please help me in resolving this issue.