This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
The "classic approach" is to create one or more XML schemas that describe the data your web service will send and receive.
Then one use the XJC JAXB schema compiler to generate the JAXB bean classes. The XJC schema compiler can be used from Maven or Ant, so it can be part of your build process.
Finally, the JAXB bean classes are used in the code either to interpret received XML or to prepare an object representation of response data, which is later marshalled into XML.
Ask for more details!