-
Notifications
You must be signed in to change notification settings - Fork 2
REST xml
Ranjithrajd edited this page Aug 14, 2015
·
5 revisions
Rest xml response has been implemented Need to create model with xml elements annotation to publish the xml. Taken xml model classes from XMLParser project. Refer below,
Renamed the ObjectFactory class to OrderFactory.
@Autowire annotations were used to link the service class in the controller.
Order REST api url : http://localhost:8080/springfire/rest/order/
XMLParser has been written , to load xml file and parse it as collection of objects. XMLParser annotated as @component Spring bean defined to load xml file from class path as InputStream.
Contact 👍 ranjithraj.d@gmail.com