I assume you are talking about JAXB generated types.... The only way I can think of doing this would be to write an xjc plugin that would strip off the setter methods from the generated beans for anything you don't want settable.
That said, this would obviously just affect the CXF generated client. If someone uses a different client like .NET or something, you wouldn't be able to control what they do. Dan On Thursday 28 August 2008 8:19:36 am ben short wrote: > Hi, > > Is it possible to stop a client of a webservice from modifying a > field. For instance I return a class that has an Id field that relates > to the database record. I dont what the client to beable to change > this field. > > Is this possible? > > Regards > > Ben Short -- Daniel Kulp [EMAIL PROTECTED] http://www.dankulp.com/blog
