• Welcome to KonaKart Community Forum. Please login or sign up.
 
June 29, 2025, 09:50:52 pm

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.

Messages - beltazar_x

1
Hi,

I am currently developing and android application that connects remotely to my konakart store using Web Services.

Due to limitations in the Java API Android uses, I am unable to use the interface KKWSEng (or if anyone knows how to use it correctly in Android please let me know).

Surfing the web I found KSoap2, that allows to perform SOAP calls in Android. This API has been working fine except that is unable to process nested complex objects sent in the SOAP message (or at least I haven't been able to make it work). This particular problem was found in the method getProductsPerCategory() because it returns an object ProductsIf that has for attribute an array of products.

So I decided to modify the Web Service so that instead of returning ProductsIf, it returns ProductIf[] (using getProductArray()). The change is really simple but I don't really know which source code is the one I need to modify.

I found this guide:
http://www.konakart.com/docs/EngineCustomization.html

There I found about the file KKCustomEng. Is this the one that manages the Web Services? How do I make both versions keep working (the original for my web storefront and the custom for the Android application)?

Best regards.