• Welcome to KonaKart Community Forum. Please login or sign up.
 
March 28, 2024, 10:05:23 am

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 - anton83

1
There's still this in Messages.properties file:


CTRY.YUG = Yugoslavia


This country no longer exists. Since there are Bosnia and H., Croatia, Slovenia, etc. as separate countries, I guess this once had a purpose of designating Serbia and Montenegro (the only ones that didn't declare independence once SFR Yugoslavia dissolved in the 90'). You could also put Kosovo there. Once part of Serbia, it's independent now.
2
I accidentally solved it. Should anyone need the details how, he/she is invited to ask here.

-----------------------

Now, I'd like to know how do I use the URL to, for example, call something from another website which is, say PHP? Can I use this endpoint URL which is in the files:

http://www.example.com/konakart/services/KKWebServiceEng?wsdl or http://www.example.com/konakart/services/KKWebServiceEng

If yes, how do I append the API calls onto it, or what is the philosophy behind it?
3
(Also pasting this because there are some lines which aren't present in the documentation example)

Buildfile: /home/wwwimpor/public_html/java_soap_examples/build.xml

clean:
     [echo] Cleanup...

axis_client_generation:
     [echo] Create the KonaKart client stubs from the WSDL

compile:
     [echo] Compile the examples
    [mkdir] Created dir: /home/wwwimpor/public_html/java_soap_examples/classes
    [javac] /home/wwwimpor/public_html/java_soap_examples/build.xml:105: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 118 source files to /home/wwwimpor/public_html/java_soap_examples/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning

run:
     [java] First the low-level version...
     [java]
     [java] There are 238 countries
.............
4
Hi,

I'm at the stage where I'd like to test and familiarize with java_soap_examples.

Here's what I did and what I'm experiencing.

1. Ant is installed and "ant -p" lists the commands just fine
2. I enabled the SOAP services
3. Running "ant" when in java_soap_examples was at first giving me bunch of errors. I then edited the port number in those files from 8780 to 8080
4. The above didn't work. I suspected it was due the server having many accounts on it, including other test konakart installations. So I changed "localhost:8080" with "www.mydomain.com:8080".
5. Now the console outputs:

[java] First the low-level version...
     [java]
     [java] There are 238 countries
     [java] There are 25 manufacturers
     [java] The default currency is: USD
     [java] 63 products found
     [java] 63 length of product array

But for "high-level" I'm still getting a bunch or errors:

[java] Next the recommended high-level version...
     [java]
     [java] com.konakart.app.KKException: java.net.ConnectException: Connection refused
     [java]     at com.konakart.ws.KKWebServiceSoapMgr.createKKExceptionFromAxisFault(Unknown Source)
     [java]     at com.konakart.app.KKWSEng.manageThrowable(Unknown Source)
     [java]     at com.konakart.app.KKWSEng.getAllCountries(Unknown Source)
     [java]     at com.konakart.AxisExample.highLevelVersion(Unknown Source)
     [java]     at com.konakart.AxisExample.main(Unknown Source)
     [java] Caused by: java.net.ConnectException: Connection refused
     [java]     at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
     [java]     at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
...skipped many more lines....


I also tried to run the AxisExample.java in the console and it reported something about packages not being available, etc.

========================================================

What seems to be the issue here? My host inspected this and confirmed that no changes occur when they disable the firewall so it can be ruled out.

Some notes:

- I also edited in the same manner this file under java_api_examples/src: konakartadmin_axis_client.properties
- But there is no "konakart_axis_client.properties" file in this location!! Is this normal?
5
Hi,

Although it's been suggested that import into Eclipse (or NetBeans) IDE can be done, I'm wondering would it be perfectly acceptable to do it like this:

- Create a project in Netbeans, not necessarily a Java project, and create a connection to the server, so files can be downloaded and uploaded via FTP
- Download the desired .java file, make changes, upload it back to exactly the same place.
- Then use server SSH to run the Ant tool

Is this possible? It seems a lot easier and less complicated (at least in the dev phase) compared to building and packing into JARs locally then uploading to server. I'm not skilled in Java so please don't mind if I didn't quite get the process.
6
Quote from: ming on October 11, 2015, 12:22:56 pm
It#s expected behaviour.

In the Enterprise version you can set this property in konakartadmin_gwt.properties:

# Stops logout after a browser refresh
#fbc.save_session_in_cookie                                 = true


Is it possible to implement the same in Community version (by myself, I mean)?
7
I'm considering buying EE, so I have some questions.

1. I know EE features both multi-store and multi-vendor modes. My question is: I have this vendor, running his store (main store is in multi-store mode) with say 50 items there. Would we be able to pull all of his items into his own website as well? I guess that could be achieved using the tiles functionality, right? But do the tiles have the option of vendor-based or shop-based items (to display only the items belonging into this particular shop or to this particular vendor)?

2. If the above is true (is achievable) - does a single licence cover it?


Thank you!

P.S. I have also started another two threads about some issues I'm having. I'm wondering if those are bugs or something is not configured correctly on my side.
8
If I reload the admin interface at any point, I get logged out, being required to enter my password again. Is this a bug or expected behaviour?
9
Hello,

Is this a know behaviour or a bug? When viewed on a mobile device, clicking once on a product image (it's main image) will send the product to the cart AND also display the Add to cart button. If a visitor then also clicks the button to (intentionally) put the product into the cart, cart count of the product is increased to 2.