• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 01, 2025, 05:45:38 pm

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

1
Programming of KonaKart / Re: Webservice, TaxRates
August 03, 2008, 09:39:43 pm
Thanks for the response!

Ming: I have tried this before, and gave it another trie now. Same result. I hva been playing around with the parameters , but allways the same result. Fks AdminTaxRateSearchResult rr = service.getTaxRates(ss, 2, 2) should give me 2 objects , but the same: 0 in result array, and 10 in getTotalSetSize.

Pete: I tried out your solution with the same negative result. I don't think changing this parameters will solve the problem anyway bacause the AdminTaxRateSearchResult says it got 10 in the result.

Is there any source code for AdminTaxRateSearch around? Its frustrating not beeng able to debug this.


Eriksen
2
Programming of KonaKart / Webservice, TaxRates
August 02, 2008, 11:54:35 pm
I'm having a problem retrieving Tax rates from Konakart.
(The insert works fine)

This is my Code ( service = KKWSAdminIf ):

AdminTaxRateSearch ss = new AdminTaxRateSearch();
ss.setId(-1);
AdminTaxRateSearchResult rr = service.getTaxRates(ss, -1, 0);
System.err.println("result: " + rr.getTaxRates().length +  " : " + rr.getTotalSetSize());

The console:
> result: 0 : 10

There is 10 rates, but I can't get them, the AdminTaxRateSearchResult is empty.
I have tried service.getAllTaxRates() with the same result.

Is this a bug, or do I do somethig very wrong here?