Re: Where is my JAX-RS Invoke going?

2016-01-13 Thread Sergey Beryozkin
Hi The log shows that a method accepting a single parameter is invoked, while the one you typed accepts 3 parameters. Looks like you may have 2 methods which prove to be equal JAX-RS method candidates. Cheers, Sergey On 12/01/16 20:09, Jim Talbut wrote: Hi, In a JAX-RS application running

Re: Where is my JAX-RS Invoke going?

2016-01-13 Thread Sergey Beryozkin
Hi On 13/01/16 13:05, Jim Talbut wrote: Gaah You're right. Thank you. I haven't touched this code for a long while and didn't realise I had overloaded that method (I've now renamed the methods to help me out next time). I'm surprised that a request with an Accept of this:

Re: Where is my JAX-RS Invoke going?

2016-01-13 Thread Sergey Beryozkin
On 13/01/16 13:53, Sergey Beryozkin wrote: Hi On 13/01/16 13:05, Jim Talbut wrote: Gaah You're right. Thank you. I haven't touched this code for a long while and didn't realise I had overloaded that method (I've now renamed the methods to help me out next time). I'm surprised that a

Re: CXF remove some namespaces

2016-01-13 Thread Sergey Beryozkin
Hi It looks like you'd like to optimize (remove possibly redundant prefixes) as opposed to change the namespaces, the transformation feature does not do it, perhaps you can use XSLT feature to drop namespaces prefixes Cheers, Sergey On 12/01/16 16:34, r.bott...@afterbit.com wrote: Hi, i

Re: Where is my JAX-RS Invoke going?

2016-01-13 Thread Jim Talbut
Gaah You're right. Thank you. I haven't touched this code for a long while and didn't realise I had overloaded that method (I've now renamed the methods to help me out next time). I'm surprised that a request with an Accept of this: application/json, text/plain, */* Preferred

Re: CXF remove some namespaces

2016-01-13 Thread Roberto Bottoni - AfterBit
Hi, CXF add automatically the following "namespaces" to Command_Cryptic and also creates its prefixes (ns6, ns70...) : xmlns:ns6="http://xml.afterbit.com/2010/06/Security_v1; xmlns:ns70="http://xml.afterbit.com/HSFREQ_07_3_1A; xmlns:ns71="http://xml.afterbit.com/HSFRES_07_3_1A; > and i

Re: Where is my JAX-RS Invoke going?

2016-01-13 Thread Jim Talbut
No q, no text/html, this is coming from AngularJS using its default Accept header. Jim On 13/01/2016 13:57, Sergey Beryozkin wrote: On 13/01/16 13:53, Sergey Beryozkin wrote: Hi On 13/01/16 13:05, Jim Talbut wrote: Gaah You're right. Thank you. I haven't touched this code for a long

Re: Where is my JAX-RS Invoke going?

2016-01-13 Thread Sergey Beryozkin
Indeed, I reproduced it, but it looks like to be correct S(*/*, text/html) = text/html;q=1;qs=1;d=0 S(application/json, application/json) = application/json;q=1;qs=1;d=0 (Section 3.7.2, 3.b) both methods are equal candidates so the 1st method (or whichever method from these two gets on top)