RE: How to use CXF and JSON

2009-12-09 Thread Sergey Beryozkin
: 09 December 2009 00:04 To: users@cxf.apache.org Subject: Re: How to use CXF and JSON Sergey, how would you mimic a POST request with the WebClient? It works fine for a GET request. I need to post an entire object to the web service method so I would prefer using a POST. Any suggestions

Re: How to use CXF and JSON

2009-12-03 Thread Sergey Beryozkin
of the service method (JSF managed bean) in order for it to perform operations on it? KARR, DAVID (ATTCINW) wrote: -Original Message- From: cgswtsu78 [mailto:cg...@proofpoint.com] Sent: Wednesday, December 02, 2009 10:17 AM To: users@cxf.apache.org Subject: Re: How to use CXF and JSON

Re: How to use CXF and JSON

2009-12-02 Thread Sergey Beryozkin
01, 2009 3:59 PM To: users@cxf.apache.org Subject: RE: How to use CXF and JSON When I do the below I get the below exception. EnvFromHourlyWrapper is my wrapper object that holds a List of the objects that I want to return. I believe if you Google for JAXRSOutInterceptor

Re: How to use CXF and JSON

2009-12-02 Thread cgswtsu78
searching for providers... cheers, Sergey -Original Message- From: cgswtsu78 [mailto:cg...@proofpoint.com] Sent: Tuesday, December 01, 2009 3:59 PM To: users@cxf.apache.org Subject: RE: How to use CXF and JSON When I do the below I get the below exception

Re: How to use CXF and JSON

2009-12-02 Thread Sergey Beryozkin
() is used when searching for providers... cheers, Sergey -Original Message- From: cgswtsu78 [mailto:cg...@proofpoint.com] Sent: Tuesday, December 01, 2009 3:59 PM To: users@cxf.apache.org Subject: RE: How to use CXF and JSON When I do the below I get the below exception

Re: How to use CXF and JSON

2009-12-02 Thread cgswtsu78
...@proofpoint.com] Sent: Tuesday, December 01, 2009 3:59 PM To: users@cxf.apache.org Subject: RE: How to use CXF and JSON When I do the below I get the below exception. EnvFromHourlyWrapper is my wrapper object that holds a List of the objects that I want to return. I believe if you Google

RE: How to use CXF and JSON

2009-12-02 Thread KARR, DAVID (ATTCINW)
-Original Message- From: cgswtsu78 [mailto:cg...@proofpoint.com] Sent: Wednesday, December 02, 2009 10:17 AM To: users@cxf.apache.org Subject: Re: How to use CXF and JSON That did work, but it required me to save the json string as a file. When opening it in notepad it has

RE: How to use CXF and JSON

2009-12-02 Thread cgswtsu78
...@proofpoint.com] Sent: Wednesday, December 02, 2009 10:17 AM To: users@cxf.apache.org Subject: Re: How to use CXF and JSON That did work, but it required me to save the json string as a file. When opening it in notepad it has the correct object representation. How can I display the json

RE: How to use CXF and JSON

2009-12-02 Thread cgswtsu78
...@proofpoint.com] Sent: Wednesday, December 02, 2009 10:17 AM To: users@cxf.apache.org Subject: Re: How to use CXF and JSON That did work, but it required me to save the json string as a file. When opening it in notepad it has the correct object representation. How can I display the json

RE: How to use CXF and JSON

2009-12-01 Thread KARR, DAVID (ATTCINW)
-Original Message- From: cgswtsu78 [mailto:cg...@proofpoint.com] Sent: Tuesday, December 01, 2009 2:44 PM To: users@cxf.apache.org Subject: How to use CXF and JSON Hello, I'm very new to building RESTful webservices using apache cxf and I currently have a small sample that

RE: How to use CXF and JSON

2009-12-01 Thread cgswtsu78
Ok, I've made that switch, but I'm still confused as how I need to setup the javax.ws.rs.core.Response. How would I take an Object and convert it into a json string? Below is the xml sample I created, any suggestions on converting this to a json implementation would be greatly appreciated.

RE: How to use CXF and JSON

2009-12-01 Thread KARR, DAVID (ATTCINW)
-Original Message- From: cgswtsu78 [mailto:cg...@proofpoint.com] Sent: Tuesday, December 01, 2009 3:07 PM To: users@cxf.apache.org Subject: RE: How to use CXF and JSON Ok, I've made that switch, but I'm still confused as how I need to setup the javax.ws.rs.core.Response. How

RE: How to use CXF and JSON

2009-12-01 Thread cgswtsu78
@cxf.apache.org Subject: RE: How to use CXF and JSON Ok, I've made that switch, but I'm still confused as how I need to setup the javax.ws.rs.core.Response. How would I take an Object and convert it into a json string? Below is the xml sample I created, any suggestions on converting this to a json

RE: How to use CXF and JSON

2009-12-01 Thread cgswtsu78
(); return o; } KARR, DAVID (ATTCINW) wrote: -Original Message- From: cgswtsu78 [mailto:cg...@proofpoint.com] Sent: Tuesday, December 01, 2009 3:07 PM To: users@cxf.apache.org Subject: RE: How to use CXF and JSON Ok, I've made that switch, but I'm still confused as how I

RE: How to use CXF and JSON

2009-12-01 Thread KARR, DAVID (ATTCINW)
-Original Message- From: cgswtsu78 [mailto:cg...@proofpoint.com] Sent: Tuesday, December 01, 2009 3:59 PM To: users@cxf.apache.org Subject: RE: How to use CXF and JSON When I do the below I get the below exception. EnvFromHourlyWrapper is my wrapper object that holds a List