Implement a resource method using JAXB objects for XML content.

Before you begin

Configure the JAX-RS application.

About this task

Step 4 towards the goal: Using XML content in JAX-RS application requests and responses

Procedure

You can use JAXB objects as request entity parameters and response entities with JAX-RS applications. Instead of transforming XML to and from native Java types, you can take advantage of using JAXB objects.

What to do next

Assemble JAX-RS web applications.
Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 17, 2014 10:32 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-express-iseries&topic=twbs_jaxrs_xmlcontent_step4
File name: twbs_jaxrs_xmlcontent_step4.html