Hi again,
I'm adding new products to KonaKart throw the WebService API, but I get this error when I try to upload something:
java.rmi.RemoteException: The String parameter called name must be given a value. It cannot be set to null or be left empty
This is part of my code, as you see I insert the parameter called name. I don't know if there is another name I must include:
articulo.setName("Unbelievable");
...
...
...
port.insertProduct(sesion, articulo); ->Error
Thank you in advance
David
Hi David,
Setting a product name and description is slightly more complicated than it may first appear because KonaKart is multilingual and so accepts names, descriptions and product urls for different languages.
What I suggest is for you to follow the steps in the source code we provide as an example. You can download this from http://www.konakart.com/apiexamplesfaq.php . You will see that there is a java source code file called InsertProduct.java.
Good luck,
Paolo
Hi,
finally I put a name for the description and It seems to work, now I don't have that error and the product is in the DB of KonaKart. Anywhere I'll read that examples, they look fine
Thanks paolo