cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siarhei Barysiuk <s.barys...@gmail.com>
Subject Re: Using RESTful services with J2ME client
Date Mon, 24 Aug 2009 13:47:23 GMT

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-tp25113577p25116365.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message