cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Glubb <m...@madebykite.com>
Subject Re: REST PUT example
Date Thu, 24 Mar 2011 13:26:40 GMT
Mark,

Not sure you mean for a client or a server but to configure a web service to accept PUT data:

@WebService
public class Service {

	@PUT
	@Path("/")
	public void add(Object object) {
		// Do stuff with PUT object
	}
}

Should work for you.


Matt
	

Matthew Glubb
Technical Partner

email: matthew.glubb@madebykite.com
phone: 44 (0) 7715 754017
skype: mglubb

Kite
http://madebykite.com

--
GPG: 96FF DE0E 0B7B 37F0 7F8D C54C E285 3D8F 5625 9244

On 24 Mar 2011, at 13:19, Mark Webb wrote:

> I am looking for an example using CXF and the REST PUT command.  I am
> having problems finding an example or tutorial on your site.  I have
> googled around and can't find any good documentation on this.
> 
> Could you please forward me to some documentation that provides me
> with this information.
> 
> Thanks,
> Mark


Mime
View raw message