Create a transform-jaxb quickstart
----------------------------------
Key: SWITCHYARD-333
URL:
https://issues.jboss.org/browse/SWITCHYARD-333
Project: SwitchYard
Issue Type: Task
Components: quickstarts
Reporter: Keith Babo
Assignee: Mario Antollini
Fix For: 0.2
Create a quickstart to demonstrate use of automatic JAXB transformation based on JAXB
annotations in a service interface. Here's the discussion I had with Mario on IRC:
basically it means that you can write a Java service and use JAXB
annotated classes as the message types
so declare a service interface which has a method where the parameter and return type are
both JAXB annotated objects
hook that up to a web service binding
and that should be it
the runtime should automatically detect the JAXB annotated classes and execute them
so you don't have to define a transformer
so basically the work for the quickstart is this:
1) create a new application with a Java service
2) annotate the objects used in the service interface with JAXB annotations
3) bind it to soap
4) write a unit test using Http MixIn and XMLUnit to assert that the expected result is
returned
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira