On 01/11/12 12:42, Dennis Kieselhorst wrote:
Sergey Beryozkin-5 wrote
How do you pass a complex object to WebClient, which method is used ? I
can quickly test locally

I applied the ParamConverterProvider in the providers list:
   List<ParamConverterProvider>  providers = new
LinkedList<ParamConverterProvider>();
   providers.add(new MyParamConverterProvider());
   WebClient client = WebClient.create(LOCAL_SERVICE_URI, providers, true);

The complex objects are passed as query params:
   client.query("complexObjects", object1, object2);

I guess the snapshot with the update has not been deployed yet, I've updated the test code, works for me:

http://svn.apache.org/viewvc?rev=1404600&view=rev

Please give it another try later

Cheers, Sergey

Regards
Dennis



--
View this message in context: 
http://cxf.547215.n5.nabble.com/JAX-RS-2-0-ParamConverterProvider-sample-tp5717610p5717693.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to