The above items are taken from this site http://blog.ibeesolutions.com/web-services-implementation-considerations.html
Serialization is an important issue in terms of web service performance because web services use XML in SOAP messages.
So reduce serialization with XmlIgnore
To limit which fields exposed by the object are serialized when the object is passed to or from the Web method, and to reduce the amount of data sent over the wire, use the XmlIgnore attribute, as shown below.
The XmlSerializer class ignores any field annotated with this attribute.
Note that XmlIgnore only serializes public elements, unlike formatters derived from the IFormatter interface.
Here, the author mentions Inproving Webservices tips, and XmlIgnoreAttribute should be used from them.
I developed Webservice using Java through the Apache CXF Framework.
Please tell me how can I use this or any similar attribute in Java Technology?
Pawan source share