KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: jvandevelde on July 14, 2011, 05:00:55 pm

Title: SAXException when performing a product search with KKWSEng
Post by: jvandevelde on July 14, 2011, 05:00:55 pm
Hi,

I'm trying to perform a product search using the KKWSEng.searchForProducts() method but keep getting the exception

org.xml.sax.SAXException: Invalid element in com.konakart.wsapp.ProductSearch - endDateFrom

I have not set any constraints in the ProductSearch object that i'm using

The WSDL that I have in the OpenCms_module folder does have both endDateFrom and endDateTo elements, but I've noticed that the WSDL at http://www.konakart.com/konakart/services/KKWebServiceEng?wsdl does not.

From the KonaKart admin About menu I get the version information

Version Number : 5.4.0.0-E (built 9:05PM 20-May-2011 BST)

Does anyone have any suggestion on how I could fix this?

Thanks,
Jules Van de Velde
Title: Re: SAXException when performing a product search with KKWSEng
Post by: greg on July 15, 2011, 06:00:48 am
Yes there's an incompatibility between our demo server and your web services client.

The best approach is to install KonaKart locally (rather than pointing to the one on our server) and use its web services then you can guarantee compatibility.