• Welcome to KonaKart Community Forum. Please login or sign up.
 
April 18, 2024, 05:22:25 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 - avector

1
Thank you a lot, Julie!
2
Hello, Julie.

We have used KKEngIf interface and its provided functionality. We have already integrated with SOAP services which konakart provided, so why should we use JSON services if SOAP services implement the same interface? We just need to understand how to do wish lists calls for not logged in users.
This topic is not mentioned in docs that's why we are asking here.

We have analysed the konakart application invocations for wishlist when user is not logged in. We discovered that the action "https://luxury.dev/konakart/EditWishListSubmit.action?action=r&wid=1&id=1"; is used with some parameters. It is important to notice that user is not logged in.

But konakart KKEngIf demands "sessionId" parameter which we can get after "login" method invocation. SOAP services respond that "sessionId" cannot be omitted and should exists.

So, could you please provide any example of KKEngIf engine invocation for wish list without "sessionId" parameter?

Thank you in advance.
3
Hello!

Could you please clarify how to  use wishlist functionality through SOAP services for NOT logged in users? (for enterprise edition of konakart).
I have mentioned that in webapp it is possible to add some items in wishlist before user is logged in. After user logged in wish list is merged with currently logged in user.

But all SOAP wishlist methods (createWishList, addToWishList, etc) require the sessionId of the logged in customer.

So, the question is how to get the same wishlist functionality through SOAP like it is done in webapplication?

Thank you in advance...
4
Programming of KonaKart / Image tagging
August 07, 2015, 08:55:48 am
Hello!

I use community edition of konakart (KonaKart Engine Version = 7.4.0.1-C (built 2:13PM 19-Mar-2015 GMT)).

It is possible to load multiple images for product.
The problem. We added colors and materials as product options. And uploaded different images for this product for different color and different materials.
When user would like to view product in white and metal for eg the images should be filtered by these product options.
The question is how to specify some tag for each image or how to set related product options (attributes)?
May be there is another way to do this?

Thank you in advance.
5
Hello!

On ui we have some kind of filter where it is possible to select some categories, but also we have to display products in columns by categories.

Konakart allows assign multiple categories to one product. So we have products with several categories. We can specify the list of categories (in ProductSearch) to select desired products in "searchForProducts...(..)". But generated client class Product does not contain collection or array of categories which is it related to. It is not good idea to make a SOAP request to know product's categories for each product from the retrieved list of products (from searchForProducts...(..)).

We can make several requests for each selected category, but this doesn't  tell which other categories the product relates to.

For eg the category tree is:
Computer:
- Periphery
- Memory

"Kingston128mb" product relates to "Memory" category and ExtHddX product relates to "Periphery". User selects both Periphery and Memory categories and got "Kingston128mb" and ExtHddX and probably other products. It is needed to display products in columns by categories "Periphery" and "Memory". How to do this if Product doesn't contain any information about related categories?

I have investigate Admin WS but the method "searchForProductsWithOption(..)" always returns empty array of categories in AdminProduct instances. And I didn't find any option in AdminDataDescriptor, AdminProductSearch, AdminProductMgrOptions which is manages populating of categories for products.

So the question is how to search products with related categories?
6
Yes. Thank you for reply.
7
Could you please clarify how to get products options (attributes) (like Color, Size and so on) by using SOAP API? I have tried searchForProducts(..) and searchForProductsWithOptions(..) with many parameters  set to true (like setGetTags(true), setFillCustomAttrArray(true)) and so on. However the resulting Products and its Product[] array does not contain any information about product options.

And is it possible to get filtered products by some of these attributes by SOAP API? For eg get products with some categories with product options Color (white, black) only...

Thank you in advance.
8
OK. it's clear. Thank you.
9
Hello!

I use SOAP API of konakart to integrate it with a custom web application. This is a multilingual application and there is some currency for each language. User could change language and currency in application.
I just wonder how to set currency through SOAP API?
I have found any suitable service method for this. Also, user can be not logged in and fulfil basket with products. Then after currency is changed basket products must be recalculated with the chosen currency.
Konakart web app supports all of these stuff, but how to repeat it using SOAP API?

Thank you in advance!
10
I have made a workaround of this problem by specifying wsdl file in webapps/konakart/server-config.wsdd:

<service name="KKWebServiceEng" provider="java:RPC" style="rpc" use="encoded">
      <parameter name="wsdlTargetNamespace" value="http://ws.konakart.com"/>
      <parameter name="wsdlServiceElement" value="KKWSEngIfService"/>
      <parameter name="schemaUnqualified" value="http://wsapp.konakart.com,http://ws.konakart.com"/>
      <parameter name="wsdlServicePort" value="KKWebServiceEng"/>
      <parameter name="className" value="com.konakart.ws.KKWebServiceEngSoapBindingSkeleton"/>
      <parameter name="wsdlPortType" value="KKWSEngIf"/>
      <parameter name="typeMappingVersion" value="1.2"/>
      <parameter name="allowedMethods" value="*"/>

<!-- External WSDL for Axis -->
      <wsdlFile>/WEB-INF/KKWebServiceEng.wsdl</wsdlFile>
...


May be it can be needed to someone. I have taken wsdl from demo application on konakart.com. Anyway this is just a workaround I suppose axis must generate wsdl by itself.
11
Hello!

I have installed KonaKart community edition on linux 32b.
Quote
This is the administration application for KonaKart.
It allows you to maintain and configure your online store.
KonaKart Engine Version = 7.4.0.1-C (built 2:13PM 19-Mar-2015 GMT)
Run Time Info:
Mode = 0, StoreId = store1
Customers Shared = No, Products Shared = No, Categories Shared = No
KonaKart Admin Client Version = 7.4.0.1


Then I have activated SOAP web services with
C:\Program Files\KonaKart\custom>.\bin\ant enableWebServices

Then restarted it and tried to get wsdl on
Quotehttp://localhost:8780/konakart/services/KKWebServiceEng?wsdl


and

Quotehttp://localhost:8780/konakartadmin/services/KKWSAdmin?wsdl


Admin's web services wsdl has displayed correctly, but on services wsdl I got the following error:

Quote
AXIS error

Sorry, something seems to have gone wrong... here are the details:

Fault - ; nested exception is:
   org.apache.axis.InternalException: java.lang.Exception: Couldn't find a matching Java operation for WSDD operation "custom" (2 args)

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.apache.axis.InternalException: java.lang.Exception: Couldn't find a matching Java operation for WSDD operation "custom" (2 args)
faultActor:
faultNode:
faultDetail:
   {http://xml.apache.org/axis/}hostname:xxx


As I didn't change anything in the installed application I suppose that this is either configuration problem or bug in application.

Could you please help me with this?