Hi Serge,

> That's exactly what I was looking for - _method parameter.

great...

> I've just realized that all HTTP clients use JAXB to marshall/unmarshall
> objects

JAXRS-aware clients like CXF JAXRS can register alternative providers, for
example, Aegis or XMLBeans or some other databinding can be used in CXF on
the client side. 

cheers, Sergey


Siarhei Barysiuk wrote:
> 
> Hi Sergey,
> 
> Thanks for your feedback.
> 
> That's exactly what I was looking for - _method parameter.
> 
> I've just realized that all HTTP clients use JAXB to marshall/unmarshall
> objects, so I suppose it it's impossible to use them on client side
> (J2ME).
> 
> Thanks,
> Serge
> 
> 
> Sergey Beryozkin wrote:
>> 
>> Hi Serge
>> 
>> You might want to set the following HTTP header :
>> 
>> X-HTTP-Method-Override : DELETE
>> 
>> CXF will assume that DELETE HTTP method was actually used.
>> 
>> _method queries can also be used. Some more info is here :
>> 
>> http://cxf.apache.org/docs/jax-rs.html#JAX-RS-OverridingHTTPmethod
>> 
>> cheers, Sergey
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-RESTful-services-with-J2ME-client-tp25113577p25116709.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to