

So, you will now define a LeaveRequest object having Leave and Employee as sub-objects. Since the Spring Web services use contract first approach which means you should have XML structures ready before using Java-based code.

You will see a simple Spring WS application which exposes a web service method to book a leave in the HR portal. Now after understanding the Spring WS along with its features, you will see a working example. This module is for providing support classes for XML vs Object mapping.įollow this link to know about the Spring Bean Life Cycle 5. This module is responsible for providing XML support classes for Spring Web services and it is internally used by Spring-WS framework. Spring Web Services – Architecture & Components
