aspose file tools*
The moose likes Web Services and the fly likes what is the use of @XmlRootElement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "what is the use of @XmlRootElement " Watch "what is the use of @XmlRootElement " New topic
Author

what is the use of @XmlRootElement

sudheer kiran
Ranch Hand

Joined: Jun 26, 2008
Posts: 237

hi i have created a webservice example.
soem articrafts created by swgen contains this what is the use of this annotation


Sudheer
SCWCD, SCJP 5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42285
    
  64
Check out how the generated SOAP differs if you change its "name" attribute. The javax.xml.bind.annotation.XmlRootElement javadocs also have some examples and explanations.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is the use of @XmlRootElement