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

Startng and using soap interface with openlaszlo

Started by jbarb, March 26, 2008, 11:43:33 pm

Previous topic - Next topic

kate

Hi,

If the table isn't there, the installation did not complete sucessfully.

Therefore, uninstall whichever version of KonaKart you have installed.  If you have no data that you need to save, the easiest way is to scrap your old schema and create a new one for your new version.  (If you have a product catalog, and other data, in your KonaKart database that you need to keep, you will need to perform a database upgrade after the installation - scripts are provided to upgrade the database from one version of KonaKart to another).

Then run the installation.  After the database tables are loaded during the installation you should be able to run the application without problems. 

Kate

jbarb

Hi Kate,

Check this out.

I have everything installed and working correctly. The Kona Kart upgrade was easier than I thought. I just deleted the old database configuration and the new KonaKart version built a new one.

Having said that, I have arrived at a new juncture. According to the response to ANT below, my "BUILD WAS SUCCESSFUL" but now I find I have run out of instructions to proceed with the soap calls.

What is the next step in making these soap calls to Open Laszlo for the one page catalog shopper?

Could you please check this script response and see if there is anything out of order?

C:\Program Files\KonaKart\java_soap_examples>ant
Buildfile: 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: C:\Program Files\KonaKart\java_soap_examples\classes
    [javac] Warning: com\konakart\ws\KKWSEngIf.java modified in the future.
    [javac] Warning: com\konakart\ws\KKWSEngIfService.java modified in the futu
e.
    [javac] Warning: com\konakart\ws\KKWSEngIfServiceLocator.java modified in t
e future.
    [javac] Warning: com\konakart\ws\KKWebServiceEngSoapBindingStub.java modifi
d in the future.
    [javac] Warning: com\konakart\wsapp\Address.java modified in the future.
    [javac] Warning: com\konakart\wsapp\Basket.java modified in the future.
    [javac] Warning: com\konakart\wsapp\Category.java modified in the future.
    [javac] Warning: com\konakart\wsapp\Country.java modified in the future.
    [javac] Warning: com\konakart\wsapp\Coupon.java modified in the future.
    [javac] Warning: com\konakart\wsapp\Currency.java modified in the future.
    [javac] Warning: com\konakart\wsapp\Customer.java modified in the future.
    [javac] Warning: com\konakart\wsapp\CustomerGroup.java modified in the futu
e.
    [javac] Warning: com\konakart\wsapp\CustomerRegistration.java modified in t
e future.
    [javac] Warning: com\konakart\wsapp\DataDescriptor.java modified in the fut
re.
    [javac] Warning: com\konakart\wsapp\DigitalDownload.java modified in the fu
ure.
    [javac] Warning: com\konakart\wsapp\IpnHistory.java modified in the future.
    [javac] Warning: com\konakart\wsapp\KKConfiguration.java modified in the fu
ure.
    [javac] Warning: com\konakart\wsapp\Language.java modified in the future.
    [javac] Warning: com\konakart\wsapp\Manufacturer.java modified in the futur
.
    [javac] Warning: com\konakart\wsapp\NameValue.java modified in the future.
    [javac] Warning: com\konakart\wsapp\Option.java modified in the future.
    [javac] Warning: com\konakart\wsapp\Order.java modified in the future.
    [javac] Warning: com\konakart\wsapp\OrderProduct.java modified in the futur
.
    [javac] Warning: com\konakart\wsapp\OrderStatusHistory.java modified in the
future.
    [javac] Warning: com\konakart\wsapp\OrderTotal.java modified in the future.
    [javac] Warning: com\konakart\wsapp\Orders.java modified in the future.
    [javac] Warning: com\konakart\wsapp\PaymentDetails.java modified in the fut
re.
    [javac] Warning: com\konakart\wsapp\Product.java modified in the future.
    [javac] Warning: com\konakart\wsapp\ProductSearch.java modified in the futu
e.
    [javac] Warning: com\konakart\wsapp\Products.java modified in the future.
    [javac] Warning: com\konakart\wsapp\Promotion.java modified in the future.
    [javac] Warning: com\konakart\wsapp\Review.java modified in the future.
    [javac] Warning: com\konakart\wsapp\Reviews.java modified in the future.
    [javac] Warning: com\konakart\wsapp\ShippingQuote.java modified in the futu
e.
    [javac] Warning: com\konakart\wsapp\TaxRate.java modified in the future.
    [javac] Warning: com\konakart\wsapp\Zone.java modified in the future.
    [javac] Compiling 37 source files to C:\Program Files\KonaKart\java_soap_ex
mples\classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

run:
     [java] There are 239 countries
     [java] There are 9 manufacturers
     [java] The default currency is: USD
     [java] 21 products found
     [java] 21 length of product array

build:

BUILD SUCCESSFUL
Total time: 34 seconds
C:\Program Files\KonaKart\java_soap_examples>



Thanks Kate,

Jim Barber
































ming

Hi Jim,

Good - so you've successfully installed KonaKart and run the java_soap_examples successfully.   Now you have some examples of calling the KonaKart APIs using SOAP.   These examples should help you get started.

What you do from here is up to you. 

Regards,
Ming

jbarb

I am having a little difficulty editing the KonaKart Admin products section.
What is the secret for saving your edits, deletions, additions of new products in the catalog section.
The "Save" button at the bottom of all the edit pages seems to highlight only when it feels like it. There seems to be no rhyme or reason in the process of activating this "save" button.
I have lost numerous edits and additions to the product catalog because I was unable to save the changes. There seems to be no set pattern for enabling the "Save" button.
??? It is extremely aggravating to type your product descriptions into the edit text block only to find out the save button refuses to activate making your efforts futile, losing your product descriptions, prices and images. How can I remedy this? Thanks.

Jim Barber

ming

Hi,

The save button (throughout the Admin App) will only be enabled when you have a validated record present.

Often, with products, it can be because you haven't provided descriptions for all the languages you have defined that your shop will support.   Flick through all the tabs on the product and find the yellow fields and make sure you add values to all those yellow fields.

If you don't want to have to do this you could choose to support just one language.

Ming

jbarb

Try as I may, KonaKart Admin will not allow me to save my product edits.

I deleted the old products but now it refuses to allow to save my new products.
Is there something causing this? I have tried every combination possible in adding new products to no avail. I have to believe something is wrong with the site itself. I even uninstalled and reinstalled KonaKart in the hope that there was an error in the install but it made no difference.
Is the admin site the only way to alter content? I would really like to change the configuration of the site itself regarding a one page shopping cart.
However the process of using the APIs or soaps is so complicated (it appears y ou must be a programmer in order to do this) that I have more or less given up on that course and no one seems willing to give some guidance on setting up the soap or api procedures.

J.Barber

heidi

Hi Jim,

When you say "it refuses to allow to save my new products" - what exactly do you mean?  Is it that the save button isn't enabled?   (if so check Ming's reply on this).

QuoteIs the admin site the only way to alter content?   

It's the easiest way... but you can also use the importer tool, or the APIs, or if you really understand the database structures you could write directly into the database (although this isn't advisable because that might not work in the future if the database changes - usually better to use the other methods).

QuoteHowever the process of using the APIs or soaps is so complicated (it appears y ou must be a programmer in order to do this) that I have more or less given up on that course

Yes, it is expected that only programmers would use the APIs....  they are "application programming interfaces" after all...

Quoteand no one seems willing to give some guidance on setting up the soap or api procedures.

You've had a lot of free support on this forum already so I'm sorry you're not grateful for this.

Heidi


pete