I have an Object Ticket which has an element totalNoOfTickets associated with it. I use this object Ticket in many methods of my restful service. However, i only need the element 'totalNoOfTickets' for one method only and not others....For example, in one of my method, i say...\[code\]Ticket.setTotalNoOfTickets(7);\[/code\]I do not use this totalNoOfTickets in other methods. Hence,i do not set it in other methods.Now in my Ticket.java...I have \[code\]public class Ticket extends ActionType { @XmlElementWrapper(name = "Tickets") @XmlElement(name = "Ticket") protected List<Ticket> tickets; @XmlElement(name = "TotalNumOfTickets") protected int totalNumofTickets; public int getTotalNumofTickets() { return totalNumofTickets; } public void setTotalNumofTickets(int totalNumoftokens) { this.totalNumofTickets = totalNumoftickets; }\[/code\]In method responses, where i set the totalNumoftickets, response contains:\[code\]<TotalNumOfTickets>7</TotalNumOfTickets>\[/code\]But, even in responses, where i do not need totalNumoftickets, reponse contains\[code\]<TotalNumOfTickets>0</TotalNumOfTickets>\[/code\]Is there any way in Jax-B where it would not have \[code\]<TotalNumOfTickets>0</TotalNumOfTickets>\[/code\]in the response of methods, where i do not set totalNumoftickets?...can i use that element optionally