Author Topic: KonaKart Programming Forum Board  (Read 6955 times)

john

  • Administrator
  • Full Member
  • *****
  • Posts: 78
    • View Profile
    • KonaKart
KonaKart Programming Forum Board
« on: September 17, 2007, 05:45:23 AM »
This is the section dedicated to questions about programming KonaKart.

One of KonaKart's strengths is the availability of an extensive range of flexible open APIs that allow you to control KonaKart in many different ways.   All of the demonstration applications on the KonaKart web site and in the download packages use these APIs.

There are direct Java APIs and SOAP APIs.

WSDL is available at:
http://www.konakart.com/konakart/services/KKWebServiceEng?wsdl (Application SOAP interface)
and:
http://www.konakart.com/konakartadmin/services/KKWSAdmin?wsdl (Admin Application SOAP Interface)


If you download and install KonaKart, you can access your local copies of these WSDL descriptions at:
http://localhost:8780/konakart/services/KKWebServiceEng?wsdl (Application SOAP interface)
and:
http://localhost:8780/konakartadmin/services/KKWSAdmin?wsdl (Admin Application SOAP Interface)


Before posting, please check:

« Last Edit: October 31, 2007, 11:06:47 AM by Brian »

sunjiangstee

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: KonaKart Programming Forum Board
« Reply #1 on: September 26, 2008, 09:31:02 PM »
Where is the description where to store my own extended code from the API and how to config to make it work?

pete

  • Administrator
  • Sr. Member
  • *****
  • Posts: 226
    • View Profile
    • KonaKart Website
Re: KonaKart Programming Forum Board
« Reply #2 on: September 27, 2008, 12:56:06 AM »

R2

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: KonaKart Programming Forum Board
« Reply #3 on: October 19, 2008, 09:13:38 PM »
I have seen that there is an event api for listening for user logins; however, to perform integration with other systems (Ex: LDAP/SSO), I need an event that get's fired when a user is created the first time as well as updated.  Does anyone know if such an event exists that can be overriden.

Secondly, are there plans for SSO integration in the short/midterm roadmap?

Thanks for any help.

ryan

  • Administrator
  • Sr. Member
  • *****
  • Posts: 190
    • View Profile
    • KonaKart Website
Re: KonaKart Programming Forum Board
« Reply #4 on: October 20, 2008, 12:15:06 AM »

R2

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: KonaKart Programming Forum Board
« Reply #5 on: November 05, 2008, 10:17:42 PM »
Hey,

Thanks for the reply and the information.  Does the "getCustomerForId" method get called when a new user is being added? or is there another method fired at this time?

Thanks!

kate

  • Administrator
  • Sr. Member
  • *****
  • Posts: 221
    • View Profile
    • KonaKart Website
Re: KonaKart Programming Forum Board
« Reply #6 on: November 06, 2008, 12:51:00 AM »
Hi,

No, getCustomerForId is called all over the place to retrieve a customer from an Id.

You should probably  look at the registerCustomer call in the application server API:
 
http://www.konakart.com/javadoc/server/com/konakart/appif/KKEngIf.html#registerCustomer(com.konakart.appif.CustomerRegistrationIf)

You should also be aware that the Admin API has a similar register Customer interface:

http://www.konakart.com/javadoc/admin/com/konakartadmin/appif/KKAdminIf.html#registerCustomer(java.lang.String, com.konakartadmin.app.AdminCustomerRegistration)

Kate

Ted

  • Jr. Member
  • **
  • Posts: 30
    • View Profile
Re: KonaKart Programming Forum Board
« Reply #7 on: October 27, 2009, 04:49:03 AM »
The Programming Guide (http://www.konakart.com/docs/Programming.html) deals a lot with using the Java API's, using SOAP webservices, running own SQL and customizing the source. There are parts where engine customizations are described and how the Struts/JSP actions, forms, modules and JSP's are to be modified.

All instructions lean a lot towards customizing the current "open-source" customizable Struts code and building the various parts using Ant - which is really nicely documented!

What I was missing when I started to develop a Wicket application a few weeks ago and what would really be a nice-to-have: how to really integrate KonaKart outside the Struts/JSP (frontend/backend) application. The Java API examples are great, single-example showcases, but I had to take a really good look into the Struts source code as to how to configure the engine and interact with the client or server engine. This by itself is not a problem; that's what we open-source developers are used to ;)) But when (ofcourse) on a tight schedule to get a e.g. Wicket application up 'n running real fast tightly integrated with KonaKart a lot more 'general webapplication project' stuff was appreciated. What .jars have to copied from the example frontend to my own application, is there a Maven repository I could use for all KonaKart dependencies, what happens in com.konakart.plugins.KKEngPlugin which I have to mimick in my own webapp to initialize the engine properly, more examples about howto take multi-store programmatically into account - that sort of stuff.

Futhermore; great product and keep up the good work!

trevor

  • Administrator
  • Hero Member
  • *****
  • Posts: 495
    • View Profile
    • KonaKart
Re: KonaKart Programming Forum Board
« Reply #8 on: October 27, 2009, 04:57:20 AM »
Thanks. Maybe when you get the time you could document some of the steps you had to go through and make them available to the community ?

jcm464

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: KonaKart Programming Forum Board
« Reply #9 on: March 18, 2010, 03:59:12 PM »
Kate,

This question is for you.

I'm a student and I would like to add extra funtionality to konakart for my project.

I would like to have the customer logging in as a customer as well as a seller from within the actual konakart application not via the admin console.

Can you please give me an idea as to which engines and actions I need to adjust/change in order to achieve this?

regards




Hi,

No, getCustomerForId is called all over the place to retrieve a customer from an Id.

You should probably  look at the registerCustomer call in the application server API:
 
http://www.konakart.com/javadoc/server/com/konakart/appif/KKEngIf.html#registerCustomer(com.konakart.appif.CustomerRegistrationIf)

You should also be aware that the Admin API has a similar register Customer interface:

http://www.konakart.com/javadoc/admin/com/konakartadmin/appif/KKAdminIf.html#registerCustomer(java.lang.String, com.konakartadmin.app.AdminCustomerRegistration)

Kate