Re: Supporting custom JSON formats

2011-12-14 Thread Guy Pardon
You're welcome. CXF rocks:-) Guy On 14-dec-2011, at 22:48, Sergey Beryozkin wrote: On 14/12/11 18:44, Guy Pardon wrote: > My mistake, > > Tried again and somehow it worked where it didn't before. Not sure what I did > wrong, sorry. no problems, thanks for trying it, Sergey > > Guy > > On

Re: Supporting custom JSON formats

2011-12-14 Thread Sergey Beryozkin
On 14/12/11 18:44, Guy Pardon wrote: My mistake, Tried again and somehow it worked where it didn't before. Not sure what I did wrong, sorry. no problems, thanks for trying it, Sergey Guy On 12-dec-2011, at 11:20, Sergey Beryozkin wrote: Hi Guy On 11/12/11 08:57, Guy Pardon wrote: Hi,

Re: Supporting custom JSON formats

2011-12-14 Thread Guy Pardon
My mistake, Tried again and somehow it worked where it didn't before. Not sure what I did wrong, sorry. Guy On 12-dec-2011, at 11:20, Sergey Beryozkin wrote: Hi Guy On 11/12/11 08:57, Guy Pardon wrote: > Hi, > > I am trying to define a custom hypermedia model (cf REST in Practice) as the >

Re: Supporting custom JSON formats

2011-12-12 Thread Sergey Beryozkin
Hi Guy On 11/12/11 08:57, Guy Pardon wrote: Hi, I am trying to define a custom hypermedia model (cf REST in Practice) as the return type of my REST service. With MIME type "application/json" this works, but with type "application/vnd.example-com.foo+json" (which is what I want) this fails, h

Supporting custom JSON formats

2011-12-11 Thread Guy Pardon
Hi, I am trying to define a custom hypermedia model (cf REST in Practice) as the return type of my REST service. With MIME type "application/json" this works, but with type "application/vnd.example-com.foo+json" (which is what I want) this fails, however. Calling the service URL gives: "org.