Hi Eduard
On 09/10/12 16:07, Eduard Hildebrandt wrote:
Hi Sergey,
your solution works. Thank you very much.
I would like to show you my appreciation. Please let me know if I can
buy you a book or DVD at Amazon or send you some money via PayPal.
That is very kind of you, thanks. But I guess it's just a lucky case
that this specific case was addressed awhile back (after a specific
feedback) :-) and there could be few bugs lurking there :-).
Hope we can have a chat and few pints at one of the conferences in
Germany, I'm feeling really unfortunate now that I can't make it to
Apache EU :-)
Cheers, Sergey
Best regards,
Eduard
Please try JAXRSClientFactory.create(__address, MyService.class,
null, aValue, bValue);
where 'null' is set for (Spring) configuration resource, I had to
add this extra parameter to this factory method to avoid various
overloading issues.
Alternatively:
JAXRSClientFactoryBean bean = new JAXRSClientFactoryBean();
bean.setAddress(address);
bean.setServiceClass(__MyService.class);
MyService proxy = bean.create(MyService.class, aValue, bValue);
That should do it, give it a try please
Thanks, Sergey